fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
35 lines
570 B
TypeScript
35 lines
570 B
TypeScript
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
|
|
|
|
import { InputLabel } from "./InputLabel"
|
|
|
|
const meta: Meta<typeof InputLabel> = {
|
|
title: "Core Components/InputLabel",
|
|
component: InputLabel,
|
|
argTypes: {},
|
|
}
|
|
|
|
export default meta
|
|
|
|
type Story = StoryObj<typeof InputLabel>
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
children: "Label",
|
|
required: false,
|
|
},
|
|
}
|
|
|
|
export const Discreet: Story = {
|
|
args: {
|
|
children: "Label",
|
|
size: "discreet",
|
|
},
|
|
}
|
|
|
|
export const Small: Story = {
|
|
args: {
|
|
children: "Label",
|
|
size: "small",
|
|
},
|
|
}
|