import type { Meta, StoryFn } from '@storybook/react'
import React from 'react'

import Loading from '.'

type ComponentProps = React.ComponentProps<typeof Loading>

const meta: Meta<ComponentProps> = {
  title: 'Loading',
  component: Loading,
  parameters: {
    layout: 'centered',
    chromatic: { disableSnapshot: true },
  },
}
export default meta

const Template: StoryFn<ComponentProps> = (args) => {
  return <Loading {...args} className="w-10 h-10" />
}

export const Default: StoryFn<ComponentProps> = Template.bind({})
Default.args = {}
