mirror of https://github.com/coder/coder.git
20 lines
487 B
TypeScript
20 lines
487 B
TypeScript
import { Story } from "@storybook/react"
|
|
import {
|
|
TemplateVersionWarnings,
|
|
TemplateVersionWarningsProps,
|
|
} from "./TemplateVersionWarnings"
|
|
|
|
export default {
|
|
title: "components/TemplateVersionWarnings",
|
|
component: TemplateVersionWarnings,
|
|
}
|
|
|
|
const Template: Story<TemplateVersionWarningsProps> = (args) => (
|
|
<TemplateVersionWarnings {...args} />
|
|
)
|
|
|
|
export const UnsupportedWorkspaces = Template.bind({})
|
|
UnsupportedWorkspaces.args = {
|
|
warnings: ["UNSUPPORTED_WORKSPACES"],
|
|
}
|