package.src.demos.CustomMenus.OptionsMenu.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
---
id: Options menu
section: components
subsection: menus
source: react-demos
propComponents: ['MenuToggle', 'Divider', 'Select', 'SelectList', 'SelectOption', 'SelectGroup']
---
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
As the `` component is now deprecated, an options menu may now be built using the new suite of menu components. This is showcased in the following demo, which uses the new [select](/components/menus/select) component that is built off of menu.
### Options menu
```ts file="./examples/OptionsMenuDemo.tsx"
```