import React from 'react' import { type Meta, type StoryObj } from '@storybook/react' import { LoadingSpinner } from '../index' const meta = { title: 'Components/Loading states/LoadingSpinner', component: LoadingSpinner, args: { accessibilityLabel: 'Loading', }, } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = { parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, } export const ClassNameOverride: Story = { args: { classNameOverride: 'text-green-400' }, } export const Colors: Story = { render: (args) => ( <> ), decorators: [ (Story) => (
), ], } export const Size: Story = { render: (args) => ( <> ), decorators: [ (Story) => (
), ], }