-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { Button } from './button'; | ||
|
||
const meta: Meta<typeof Button> = { | ||
component: Button, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof Button>; | ||
|
||
export const Primary: Story = { | ||
args: { | ||
variant: "default", | ||
}, | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { Separator } from './separator'; | ||
const meta: Meta<typeof Separator> = { | ||
|
||
const meta: Meta = { | ||
component: Separator, | ||
}; | ||
export default meta; | ||
type Story = StoryObj<typeof Separator>; | ||
|
||
type Story = StoryObj; | ||
|
||
export const Basic: Story = {}; | ||
// export const Primary: Story = { | ||
// args: { | ||
// primary: true, | ||
// }, | ||
// }; | ||
|
||
export const Primary: Story = { | ||
args: { | ||
primary: true, | ||
}, | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { meta } from "@storybook/blocks"; | ||
import { ColorPalette, Coloritem } from "@storybook/blocks"; | ||
|
||
<meta title="System/Colors" /> | ||
|
||
<ColorPalette> | ||
<ColorItem | ||
title="Apple" | ||
subtitle="A delicious brand color." | ||
colors={{ Apple: "#66bf3c" }} | ||
/> | ||
</ColorPalette> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Contact: mailto:[email protected] | ||
Expires: 2028-01-03T23:00:00.000Z | ||
Preferred-Languages: en,no | ||
Canonical: https://tihlde.org/.well-known/security.txt |
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.