import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import { PickerNetwork } from './picker-network'; # PickerNetwork The `PickerNetwork` is used for the action of changing a network. ## Props The `PickerNetwork` accepts all props below as well as all [Box](/docs/components-ui-box--default-story#props) component props. ### Label Use the `label` prop for the text content of the `PickerNetwork` component. For long labels set a `max-width` using a `className` and the text will truncate showing an ellipsis. ```jsx import { PickerNetwork } from '../../ui/component-library'; ``` ### Src Use the `src` prop with an image url to render the `AvatarNetwork`. Use the `avatarNetworkProps` to pass additional props to the `AvatarNetwork` component. ```jsx import { PickerNetwork } from '../../ui/component-library'; ```