Skip to content

Commit

Permalink
Merge pull request #19 from yingpengsha/fix/story-book-typo
Browse files Browse the repository at this point in the history
🐛 fix: replace StroyBook with StoryBook
  • Loading branch information
canisminor1990 authored Oct 9, 2023
2 parents ac98d4f + fcd9e30 commit ef91edc
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 ef91edc

Please sign in to comment.