@breakaway/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
32 lines (21 loc) • 503 B
Markdown
id: Dropdown
section: components
cssPrefix: pf-c-dropdown
propComponents: ['Dropdown', DropdownGroup, 'DropdownItem', 'DropdownList']
beta: true
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
## Examples
### Basic
```ts file="./DropdownBasic.tsx"
```
### With kebab toggle
```ts file="./DropdownWithKebabToggle.tsx"
```
### With groups
```ts file="./DropdownWithGroups.tsx"
```
### With descriptions
```ts file="./DropdownWithDescriptions.tsx"
```