mirror of https://github.com/coder/coder.git
30 lines
703 B
TypeScript
30 lines
703 B
TypeScript
import { ComponentMeta, Story } from "@storybook/react"
|
|
import {
|
|
GitAuthSettingsPageView,
|
|
GitAuthSettingsPageViewProps,
|
|
} from "./GitAuthSettingsPageView"
|
|
|
|
export default {
|
|
title: "pages/GitAuthSettingsPageView",
|
|
component: GitAuthSettingsPageView,
|
|
argTypes: {
|
|
config: {
|
|
defaultValue: {
|
|
git_auth: [
|
|
{
|
|
id: "0000-1111",
|
|
type: "GitHub",
|
|
client_id: "client_id",
|
|
regex: "regex",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
},
|
|
} as ComponentMeta<typeof GitAuthSettingsPageView>
|
|
|
|
const Template: Story<GitAuthSettingsPageViewProps> = (args) => (
|
|
<GitAuthSettingsPageView {...args} />
|
|
)
|
|
export const Page = Template.bind({})
|