Skip to content

Commit 0e323ce

Browse files
committed
Add storybook for CliAuthToken
1 parent 6607a5a commit 0e323ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Story } from "@storybook/react"
2+
import React from "react"
3+
import { CliAuthToken, CliAuthTokenProps } from "./CliAuthToken"
4+
5+
export default {
6+
title: "SignIn/CliAuthToken",
7+
component: CliAuthToken,
8+
argTypes: {
9+
sessionToken: { control: "text", defaultValue: "some-session-token" },
10+
},
11+
}
12+
13+
const Template: Story<CliAuthTokenProps> = (args) => <CliAuthToken {...args} />
14+
15+
export const Example = Template.bind({})
16+
Example.args = {}

0 commit comments

Comments
 (0)