Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnitControl
: convert Storybook example to TypeScript and Controls (#…
…39320) * Rename extension * Comment out advanced stories * Add props to `UnitControl`s types (`hideLabelFromVision`, `isShiftStepEnabled`, `shiftStep`) * Rewrite default story with TypeScript and Controls * Use unconnected component for Storybook * Add missing stories * Add missing default values * Update docs * Rename `UnconnectedUnitControl` =>` UnforwardedUnitControl` * Add a label to the default storybook args * Stop using `noop` for callback fallaback values * Show unstable props in docs * Wrap default string value in quotes * Disable `jsdoc/require-param` rule for Storybook stories * More `WithCustomUnits` description to JSDoc * Hide `value` s controls (as it is a controlled component) * Refine controls for unstable props * Add `@storybook/addon-actions` to the project * Add `onClick` to Actions tab
- Loading branch information