// 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 function KitchenSink(): JSX.Element { return ( <> {Object.values(ButtonVariant).map(variant => ( {[ButtonSize.Large, ButtonSize.Medium, ButtonSize.Small].map(size => (

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