1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
George Marshall 55abc00c34
Updating all caret icons for dark mode 🥕 (#13861)
* Updating all caret icons

* lint fixes

* Fixing settings search list
2022-03-08 13:50:35 -08:00
..

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>

## Component API

<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>