Skip to content

Commit a63fada

Browse files
committed
Add focus trap in storybook example
1 parent 7379cce commit a63fada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/src/composite/stories/index.story.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ export const RemoveActiveItem: StoryObj< typeof Composite > = {
360360
const [ showThirdItem, setShowThirdItem ] = useState( true );
361361
return (
362362
<>
363+
<button>Focus trap before composite</button>
363364
<Composite { ...args }>
364365
<Composite.Item>Item one</Composite.Item>
365366
<Composite.Item>Item two</Composite.Item>

0 commit comments

Comments
 (0)