Skip to content

Commit

Permalink
Add focus trap in storybook example
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Sep 30, 2024
1 parent 7379cce commit a63fada
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/composite/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ export const RemoveActiveItem: StoryObj< typeof Composite > = {
const [ showThirdItem, setShowThirdItem ] = useState( true );
return (
<>
<button>Focus trap before composite</button>
<Composite { ...args }>
<Composite.Item>Item one</Composite.Item>
<Composite.Item>Item two</Composite.Item>
Expand Down

0 comments on commit a63fada

Please sign in to comment.