Skip to content

Commit

Permalink
docs: improve story naming and add start script
Browse files Browse the repository at this point in the history
  • Loading branch information
ogunb committed Aug 1, 2024
1 parent a978fa9 commit 8b4628d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
},
"license": "MIT",
"scripts": {
"prestart": "npm run build",
"start": "npm run storybook",
"build": "node ./scripts/build.mjs",
"commit": "commit",
"prepare": "husky",
"storybook": "npm run build && storybook dev -p 6006",
"build-storybook": "npm run build && storybook build"
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"keywords": [
"icons"
Expand Down
2 changes: 1 addition & 1 deletion stories/IconList.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export default {
component: IconList,
};

export const Primary = {};
export const Iconography = {};
4 changes: 2 additions & 2 deletions stories/Icons.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Meta } from "@storybook/blocks";
import { IconList } from "./IconList";
import ButtonStories from "./IconList.stories";
import IconListStories from "./IconList.stories";

<Meta of={ButtonStories} title="Icons" />
<Meta of={IconListStories} title="Icons" />

# Baklava Icons

Expand Down

0 comments on commit 8b4628d

Please sign in to comment.