Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f398003

Browse files
committed
Add icon stories
1 parent b6b21a9 commit f398003

10 files changed

+130
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { BuildingIcon } from "./BuildingIcon"
4+
5+
export default {
6+
title: "icons/BuildingIcon",
7+
component: BuildingIcon,
8+
}
9+
10+
const Template: Story = (args) => <BuildingIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { CloseIcon } from "./CloseIcon"
4+
5+
export default {
6+
title: "icons/CloseIcon",
7+
component: CloseIcon,
8+
}
9+
10+
const Template: Story = (args) => <CloseIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { CoderIcon } from "./CoderIcon"
4+
5+
export default {
6+
title: "icons/CoderIcon",
7+
component: CoderIcon,
8+
}
9+
10+
const Template: Story = (args) => <CoderIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { DocsIcon } from "./DocsIcon"
4+
5+
export default {
6+
title: "icons/DocsIcon",
7+
component: DocsIcon,
8+
}
9+
10+
const Template: Story = (args) => <DocsIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { ErrorIcon } from "./ErrorIcon"
4+
5+
export default {
6+
title: "icons/ErrorIcon",
7+
component: ErrorIcon,
8+
}
9+
10+
const Template: Story = (args) => <ErrorIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { FileCopyIcon } from "./FileCopyIcon"
4+
5+
export default {
6+
title: "icons/FileCopyIcon",
7+
component: FileCopyIcon,
8+
}
9+
10+
const Template: Story = (args) => <FileCopyIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { Logo } from "./Logo"
4+
5+
export default {
6+
title: "icons/Logo",
7+
component: Logo,
8+
}
9+
10+
const Template: Story = (args) => <Logo fill="black" {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { LogoutIcon } from "./LogoutIcon"
4+
5+
export default {
6+
title: "icons/LogoutIcon",
7+
component: LogoutIcon,
8+
}
9+
10+
const Template: Story = (args) => <LogoutIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { UsersOutlinedIcon } from "./UsersOutlinedIcon"
4+
5+
export default {
6+
title: "icons/UsersOutlinedIcon",
7+
component: UsersOutlinedIcon,
8+
}
9+
10+
const Template: Story = (args) => <UsersOutlinedIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { WorkspacesIcon } from "./WorkspacesIcon"
4+
5+
export default {
6+
title: "icons/WorkspacesIcon",
7+
component: WorkspacesIcon,
8+
}
9+
10+
const Template: Story = (args) => <WorkspacesIcon {...args} />
11+
12+
export const Example = Template.bind({})
13+
Example.args = {}

0 commit comments

Comments
 (0)