1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Nidhi Kumari 7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation (#15324)
* replaced Component API with Props

* replaced Component API with Props in DOCUMENTATION.stories.mdx

* removed base avatar component
2022-07-27 00:22:40 +05:30
..

import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import ToggleButton from '.';

# Toggle Button

Button that toggles state on or off. Wraps <a href="https://gdowens.github.io/react-toggle-button/" target="_blank">react-toggle-button</a>

<Canvas>
  <Story id="ui-components-ui-toggle-button-toggle-button-stories-js--default-story" />
</Canvas>

## Props

<ArgsTable of={ToggleButton} />