// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { Button, ButtonSize, ButtonVariant } from './Button'; const story = storiesOf('Components/Button', module); story.add('Kitchen sink', () => ( <> {Object.values(ButtonVariant).map(variant => ( {[ButtonSize.Medium, ButtonSize.Small].map(size => (

))}
))} )); story.add('aria-label', () => ( ));