epic-loading-animations
Version:
Spinners and Transitions to use in React apps
21 lines (17 loc) • 440 B
text/typescript
import type { Meta, StoryObj } from '@storybook/react';
import LoadingComponent from "@/components/spinning-rings/loading-component";
const meta: Meta<typeof LoadingComponent> = {
component: LoadingComponent,
argTypes: {
color: {
control: "text"
}
}
};
export default meta;
type Story = StoryObj<typeof LoadingComponent>;
export const Primary: Story = {
args: {
color: "#FFF"
}
};