1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Benjamin Bourgeois 4cf5c942aa
Typography stories : convert knobs and actions to controls / args (#13220)
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
2022-01-13 12:40:45 -07:00
..

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} />