5524c0aa91
* Add full documentation to the component props in Storybook * Fix `FormattedMonetaryAmount` TypeScript errors Since this component is passing on props to `NumberFormat`, it needs to extend all of its original props, except for `onValueChange` which we wrap in order to accept only `number`s. * Convert `constrainRangeSliderValues` to TypeScript * Add docs to `Currency` types * Convert `PriceSlider` to TypeScript *Note:* All TypeScript errors were fixed during the conversion, except for the IE workaround which wasn't clear to me at this time. Opened an issue: woocommerce/woocommerce-blocks#5276 * Fix Price Slider story (https://github.com/woocommerce/woocommerce-blocks/pull/5253) * Migrate stories for `ProductName` to latest Storybook Also add props documentation and add named export. |
||
---|---|---|
.. | ||
stories | ||
test | ||
constrain-range-slider-values.ts | ||
index.tsx | ||
style.scss |