import React from 'react'; import {ComponentStory, ComponentMeta} from '@storybook/react'; import {RoundButton} from '../src/roundButton'; export default { title: 'Inputs/RoundButton', component: RoundButton, parameters: { layout: 'centered' }, argTypes: { onClick: { control: false }, onMouseUp: { control: false }, onMouseDown: { control: false } }, args: { type: 'button' } } as ComponentMeta; export const WithText: ComponentStory = (args) => ( HA ); export const WithIcon: ComponentStory = (args) => ( ); export const Disabled: ComponentStory = (args) => ( + ); Disabled.args = { disabled: true } export const Pulsing: ComponentStory = (args) => ( + ); Pulsing.args = { pulse: true } export const Flat: ComponentStory = (args) => ( ); Flat.args = { flat: true } export const Inverse: ComponentStory = (args) => ( ); Inverse.args = { inverse: true } export const Secondary: ComponentStory = (args) => ( ); Secondary.args = { secondary: true } export const SecondaryInverse: ComponentStory = (args) => ( ); SecondaryInverse.args = { secondary: true, inverse: true } export const LabelSelected: ComponentStory = (args) => ( ); LabelSelected.args = { labelState: 'selected' } export const LabelDeselected: ComponentStory = (args) => ( ); LabelDeselected.args = { labelState: 'deselected' } export const Tiny: ComponentStory = (args) => ( ); Tiny.args = { size: 'tiny' } export const Small: ComponentStory = (args) => ( ); Small.args = { size: 'small' } export const Regular: ComponentStory = (args) => ( ); Regular.args = { size: 'regular' } export const Large: ComponentStory = (args) => ( ); Large.args = { size: 'large' } export const Huge: ComponentStory = (args) => ( ); Huge.args = { size: 'huge' } export const StyleCustomized: ComponentStory = (args) => ( + ); StyleCustomized.args = { style: { width: 80, height: 80, fontSize: 40 } }