Skip to content

Commit

Permalink
Fix type in Storybook example
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jul 15, 2024
1 parent 2f3e874 commit 69b92ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/src/composite/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const meta: Meta< typeof UseCompositeStorePlaceholder > = {
};
export default meta;

export const Default: StoryFn< typeof Composite > = ( { ...initialState } ) => {
export const Default: StoryFn< typeof Composite.Root > = ( {
...initialState
} ) => {
const rtl = isRTL();
const store = Composite.useStore( { rtl, ...initialState } );

Expand Down

0 comments on commit 69b92ee

Please sign in to comment.