1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/ui/toggle-button
2021-12-08 12:51:25 -08:00
..
index.js
index.scss
README.mdx toggle-button (#12817) 2021-12-08 12:51:25 -08:00
toggle-button.component.js toggle-button (#12817) 2021-12-08 12:51:25 -08:00
toggle-button.stories.js toggle-button (#12817) 2021-12-08 12:51:25 -08:00

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>

## Component API

<ArgsTable of={ToggleButton} />