Skip to content

Commit

Permalink
refactor(demo menu): rename to InlineSearchFilterMenuDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Nov 1, 2023
1 parent fee3c04 commit 0c344e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react-core/src/demos/CustomMenus/CustomMenus.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Additionally, menu components may be connected to each other manually through ou

```

### With search input filtering
### With inline search filter

```ts file="./examples/FilterMenuDemo.tsx"
```ts file="./examples/InlineSearchFilterMenuDemo.tsx"

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
MenuContainer
} from '@patternfly/react-core';

export const FilterMenuDemo: React.FunctionComponent = () => {
export const InlineSearchFilterMenuDemo: React.FunctionComponent = () => {
const [activeItem, setActiveItem] = React.useState(0);
const [input, setInput] = React.useState('');
const [isOpen, setIsOpen] = React.useState(false);
Expand Down

0 comments on commit 0c344e0

Please # to comment.