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 | ||
info-tooltip-icon.js | ||
info-tooltip.js | ||
info-tooltip.stories.js | ||
README.mdx |
import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import InfoTooltip from './info-tooltip'; # Info Tooltip Text labels that appear when the user hovers over <Canvas> <Story id="ui-components-ui-info-tooltip-info-tooltip-stories-js--default-story" /> </Canvas> ## Props <ArgsTable of={InfoTooltip} /> ## Usage The following describes the props and example usage for this component. ### Bottom <Canvas> <Story id="ui-components-ui-info-tooltip-info-tooltip-stories-js--bottom" /> </Canvas> ### Left <Canvas> <Story id="ui-components-ui-info-tooltip-info-tooltip-stories-js--left" /> </Canvas> ### Right <Canvas> <Story id="ui-components-ui-info-tooltip-info-tooltip-stories-js--right" /> </Canvas>