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

))}
))} ); KitchenSink.story = { name: 'Kitchen sink', }; export const AriaLabel = (): JSX.Element => ( ); CustomStyles.story = { name: 'Custom styles', };