File tree Expand file tree Collapse file tree 3 files changed +1
-20
lines changed Expand file tree Collapse file tree 3 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 8
8
declare const useCurrencyInput: (options : CurrencyInputOptions , autoEmit ? : boolean ) => UseCurrencyInput
9
9
` ` `
10
10
11
- ### parse
12
-
13
- ` ` ` typescript
14
- declare const parse: (formattedValue : string | null , options : CurrencyFormatOptions ) => number | null
15
- ` ` `
16
-
17
11
## Enums
18
12
19
13
### CurrencyDisplay
Original file line number Diff line number Diff line change 1
1
import useCurrencyInput from './useCurrencyInput'
2
- import CurrencyFormat from './currencyFormat'
3
- import { CurrencyFormatOptions } from './api'
4
-
5
- const parse = ( formattedValue : string | null , options : CurrencyFormatOptions ) : number | null => {
6
- return new CurrencyFormat ( options ) . parse ( formattedValue )
7
- }
8
2
9
3
/**
10
4
* @deprecated Use the named export `useCurrencyInput` instead.
11
5
*/
12
6
export default useCurrencyInput
13
7
export * from './api'
14
8
15
- export { useCurrencyInput , parse }
9
+ export { useCurrencyInput }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments