mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Convert Typography story in ui/components/ui/typography/typography.stories.js to use controls argType annotation - Add README.MDX - Story has argTypes that align with component api / props - All instances of @storybook/addon-knobs have been removed in favour of control args - All instances of @storybook/addon-actions have been removed in favour of action argType annotation
import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import Typography from '.'; # Typography <Canvas> <Story id="ui-components-ui-typography-typography-stories-js--default-story" /> </Canvas> <Canvas> <Story id="ui-components-ui-typography-typography-stories-js--the-quick-orange-fox" /> </Canvas> ## Component API <ArgsTable of={Typography} />