mirror of https://github.com/coder/coder.git
23 lines
400 B
TypeScript
23 lines
400 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react";
|
|
import { Expander } from "./Expander";
|
|
|
|
const meta: Meta<typeof Expander> = {
|
|
title: "components/Expander",
|
|
component: Expander,
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof Expander>;
|
|
|
|
export const Expanded: Story = {
|
|
args: {
|
|
expanded: true,
|
|
},
|
|
};
|
|
|
|
export const Collapsed: Story = {
|
|
args: {
|
|
expanded: false,
|
|
},
|
|
};
|