import React from 'react';
import { StoryObj, Meta } from '@storybook/react';
import AUSpinnerComponent from '../src/components/AUSpinnerComponent';
import { ThemeWrapper } from './lib/helpers';
export default {
title: 'Delphinus/Spinner',
component: AUSpinnerComponent,
argTypes: {
init: {
control: {
type: 'radio',
},
options: [
'',
'box',
'table',
],
},
className: {
table: {
disable: true,
}
},
},
decorators: [
(Story, context) => (
{Story()}
)
],
} as Meta;
type Story = StoryObj;
export const Spinner: Story = {
args: {
loaded: false,
height: '20rem',
init: 'box',
},
render: (args) => Child content
,
};