// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { action } from '@storybook/addon-actions'; import type { Meta } from '@storybook/react'; import type { PropsType } from './Button'; import { Button, ButtonSize, ButtonVariant } from './Button'; export default { title: 'Components/Button', } satisfies Meta; export function KitchenSink(): JSX.Element { return ( <> {Object.values(ButtonVariant).map(variant => ( {[ButtonSize.Large, ButtonSize.Medium, ButtonSize.Small].map(size => (

))}
))} ); } export function AriaLabel(): JSX.Element { return ( ); }