import { Meta, StoryObj } from "@storybook/react"; import { Loader } from "."; import { AriaLabelArgTypes, RenderPropsArgTypes } from "@sb/helpers"; import { Spinner } from "@components/Animations/Spinner"; export default { title: "Feedback/Loader", component: Loader, argTypes: { ...AriaLabelArgTypes, ...RenderPropsArgTypes, }, } as Meta; type Story = StoryObj; export const Primary: Story = { args: { isLoading: true, message: "Loading...", placement: "center", children: ( ), }, }; export const SpinnerLoaderExample: Story = { args: { ...Primary.args, orientation: "horizontal", children: , }, };