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,
  },
}
