mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
7424e98416
* replaced Component API with Props * replaced Component API with Props in DOCUMENTATION.stories.mdx * removed base avatar component |
||
---|---|---|
.. | ||
index.js | ||
index.scss | ||
README.mdx | ||
toggle-button.component.js | ||
toggle-button.stories.js |
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} />