Skip to content

Commit

Permalink
Fix format prop in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Dec 12, 2024
1 parent b40c4fc commit 0931c49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/generated/slider-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"description": "Whether the component should ignore user actions."
},
"format": {
"type": "{ compactDisplay?: 'long' | 'short', currency?: string, currencyDisplay?: 'code' | 'name' | 'narrowSymbol' | 'symbol', currencySign?: 'accounting' | 'standard', localeMatcher?: 'best fit' | 'lookup', maximumFractionDigits?: number, maximumSignificantDigits?: number, minimumFractionDigits?: number, minimumIntegerDigits?: number, minimumSignificantDigits?: number, notation?: 'compact' | 'engineering' | 'scientific' | 'standard', numberingSystem?: string, signDisplay?: 'always' | 'auto' | 'exceptZero' | 'never', style?: 'currency' | 'decimal' | 'percent' | 'unit', unit?: string, unitDisplay?: 'long' | 'narrow' | 'short', useGrouping?: bool }",
"type": "Intl.NumberFormatOptions",
"description": "Options to format the input value."
},
"largeStep": {
Expand Down
3 changes: 3 additions & 0 deletions docs/reference/overrides/slider-root.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "SliderRoot",
"props": {
"format": {
"type": "Intl.NumberFormatOptions"
},
"onValueChange": {
"type": "(value, event, activeThumbIndex) => void"
},
Expand Down

0 comments on commit 0931c49

Please sign in to comment.