Closed github-actions[bot] closed 2 years ago
In <NumberPicker ... /> component items property is number[]. If we use specially formatted numbers by Intl.NumberFormat items might become strings.
<NumberPicker ... />
items
number[]
const HourAndMinutesNumberFormat = new Intl.NumberFormat('en-US', { style: 'decimal', // @ts-ignore signDisplay: 'never', useGrouping: false, minimumIntegerDigits: 2 });
We can allow items to be strings, but which should be convertible to numbers. closes #142
In
<NumberPicker ... />
componentitems
property isnumber[]
. If we use specially formatted numbers by Intl.NumberFormat items might become strings.We can allow
items
to be strings, but which should be convertible to numbers. closes #142