// Copyright 2025 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import { SpinnerV2 } from './SpinnerV2'; import type { ComponentMeta } from '../storybook/types'; import type { Props } from './SpinnerV2'; export default { title: 'Components/SpinnerV2', component: SpinnerV2, argTypes: { size: { control: { type: 'number' } }, strokeWidth: { control: { type: 'number' } }, marginRatio: { control: { type: 'number' } }, }, args: { size: 36, strokeWidth: 2, className: undefined, marginRatio: 0.8 }, } satisfies ComponentMeta; export function Default(args: Props): JSX.Element { return ; } export function Thin(args: Props): JSX.Element { return ; } export function Thick(args: Props): JSX.Element { return ; } export function NoMargin(args: Props): JSX.Element { return ; } export function BigMargin(args: Props): JSX.Element { return ; } export function Styled(args: Props): JSX.Element { return (
); }