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

Skip to content

refactor: Rename Icons and add stories #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add icon stories
  • Loading branch information
presleyp committed Apr 19, 2022
commit f39800320e65eb62dd8f38a2b06c46a547eb24fc
13 changes: 13 additions & 0 deletions site/src/components/Icons/BuildingIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { BuildingIcon } from "./BuildingIcon"

export default {
title: "icons/BuildingIcon",
component: BuildingIcon,
}

const Template: Story = (args) => <BuildingIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/CloseIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { CloseIcon } from "./CloseIcon"

export default {
title: "icons/CloseIcon",
component: CloseIcon,
}

const Template: Story = (args) => <CloseIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/CoderIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { CoderIcon } from "./CoderIcon"

export default {
title: "icons/CoderIcon",
component: CoderIcon,
}

const Template: Story = (args) => <CoderIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/DocsIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { DocsIcon } from "./DocsIcon"

export default {
title: "icons/DocsIcon",
component: DocsIcon,
}

const Template: Story = (args) => <DocsIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/ErrorIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { ErrorIcon } from "./ErrorIcon"

export default {
title: "icons/ErrorIcon",
component: ErrorIcon,
}

const Template: Story = (args) => <ErrorIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/FileCopyIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { FileCopyIcon } from "./FileCopyIcon"

export default {
title: "icons/FileCopyIcon",
component: FileCopyIcon,
}

const Template: Story = (args) => <FileCopyIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/Logo.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { Logo } from "./Logo"

export default {
title: "icons/Logo",
component: Logo,
}

const Template: Story = (args) => <Logo fill="black" {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/LogoutIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { LogoutIcon } from "./LogoutIcon"

export default {
title: "icons/LogoutIcon",
component: LogoutIcon,
}

const Template: Story = (args) => <LogoutIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/UsersOutlinedIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { UsersOutlinedIcon } from "./UsersOutlinedIcon"

export default {
title: "icons/UsersOutlinedIcon",
component: UsersOutlinedIcon,
}

const Template: Story = (args) => <UsersOutlinedIcon {...args} />

export const Example = Template.bind({})
Example.args = {}
13 changes: 13 additions & 0 deletions site/src/components/Icons/WorkspacesIcon.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Story } from "@storybook/react"
import React from "react"
import { WorkspacesIcon } from "./WorkspacesIcon"

export default {
title: "icons/WorkspacesIcon",
component: WorkspacesIcon,
}

const Template: Story = (args) => <WorkspacesIcon {...args} />

export const Example = Template.bind({})
Example.args = {}