Skip to content

Commit

Permalink
feat(formatStyle): use decimal as default
Browse files Browse the repository at this point in the history
  • Loading branch information
dm4t2 committed Nov 8, 2021
1 parent a73d7c8 commit b87cd94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api.ts
Expand Up @@ -38,7 +38,7 @@ export enum UnitDisplay {

export interface NumberInputOptions {
locale?: string
formatStyle: NumberFormatStyle
formatStyle?: NumberFormatStyle
currency?: string
currencyDisplay?: CurrencyDisplay
unit?: string
Expand Down
2 changes: 1 addition & 1 deletion src/numberFormat.ts
Expand Up @@ -7,7 +7,7 @@ export const INTEGER_PATTERN = '(0|[1-9]\\d*)'

export class NumberFormat {
locale?: string
style: NumberFormatStyle
style?: NumberFormatStyle
currency?: string
currencyDisplay?: CurrencyDisplay
unit?: string
Expand Down

0 comments on commit b87cd94

Please sign in to comment.