Skip to content

Commit

Permalink
🐛 fix: replace StroyBook with StoryBook
Browse files Browse the repository at this point in the history
  • Loading branch information
yingpengsha committed Oct 9, 2023
1 parent ac98d4f commit fcd9e30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions example/src/Example/demos/CustomSize.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ActionIcon, ActionIconProps, StroyBook, useControls, useCreateStore } from '@lobehub/ui';
import { ActionIcon, ActionIconProps, StoryBook, useControls, useCreateStore } from '@lobehub/ui';
import { Settings } from 'lucide-react';

export default () => {
Expand Down Expand Up @@ -34,8 +34,8 @@ export default () => {
);

return (
<StroyBook levaStore={store}>
<StoryBook levaStore={store}>
<ActionIcon active icon={Settings} size={size} />
</StroyBook>
</StoryBook>
);
};
6 changes: 3 additions & 3 deletions example/src/Example/demos/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ActionIcon, ActionIconProps, StroyBook, useControls, useCreateStore } from '@lobehub/ui';
import { ActionIcon, ActionIconProps, StoryBook, useControls, useCreateStore } from '@lobehub/ui';
import { folder } from 'leva';
import * as LucideIcon from 'lucide-react';

Expand Down Expand Up @@ -44,8 +44,8 @@ export default () => {
);

return (
<StroyBook levaStore={store}>
<StoryBook levaStore={store}>
<ActionIcon {...control} />
</StroyBook>
</StoryBook>
);
};

0 comments on commit fcd9e30

Please sign in to comment.