feat(SW-3369): Move LoadingSpinner to design-system * Move LoadingSpinner to design-system Approved-by: Joakim Jäderberg
30 lines
492 B
TypeScript
30 lines
492 B
TypeScript
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
|
|
|
|
import { LoadingSpinner } from './index'
|
|
|
|
const meta: Meta<typeof LoadingSpinner> = {
|
|
title: 'Components/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,
|
|
},
|
|
}
|