A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ciphermask/ui/components/ui/dropdown
Nidhi Kumari 7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation (#15324)
2 years ago
..
README.mdx Updated all instances of "Component API" to "Props" in storybook documentation (#15324) 2 years ago
dropdown.js Fixing dropdown caret for dark and light mode (#13911) 3 years ago
dropdown.scss Overall CSS #13441 (#13902) 3 years ago
dropdown.stories.js Fix dropdown component for new Storybook format (#12816) 3 years ago
index.js remove the ui/app and ui/lib folders (#10911) 4 years ago

README.mdx

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

import Dropdown from '.';

# Dropdown

A toggleable menu that allows the user to choose one value from a predefined list

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

## Props

<ArgsTable of={Dropdown} />

## Usage

### Options Without Names

<Canvas>
<Story id="ui-components-ui-dropdown-dropdown-stories-js--options-without-names" />
</Canvas>

### Options With Long Names

<Canvas>
<Story id="ui-components-ui-dropdown-dropdown-stories-js--options-with-long-names" />
</Canvas>

### Options With Long Names And Short Width

<Canvas>
<Story id="ui-components-ui-dropdown-dropdown-stories-js--options-with-long-names-and-short-width" />
</Canvas>