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
30 lines
490 B
TypeScript
30 lines
490 B
TypeScript
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
|
|
|
|
import { LoadingSpinner } from "./index"
|
|
|
|
const meta: Meta<typeof LoadingSpinner> = {
|
|
title: "Patterns/LoadingSpinner",
|
|
component: LoadingSpinner,
|
|
argTypes: {
|
|
fullPage: {
|
|
control: "check",
|
|
},
|
|
},
|
|
}
|
|
|
|
export default meta
|
|
|
|
type Story = StoryObj<typeof LoadingSpinner>
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
fullPage: false,
|
|
},
|
|
}
|
|
|
|
export const Fullpage: Story = {
|
|
args: {
|
|
fullPage: true,
|
|
},
|
|
}
|