mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +00:00
chore: update prettier tab width for consistency (#175)
This commit is contained in:
parent
a931f8c69c
commit
f24d2fcc99
247 changed files with 7224 additions and 7375 deletions
|
@ -2,24 +2,24 @@ import * as React from 'react';
|
|||
import { Button as ButtonComponent } from './Button';
|
||||
|
||||
export default {
|
||||
title: 'Atoms/Button',
|
||||
component: ButtonComponent,
|
||||
argTypes: {
|
||||
content: { control: 'text' },
|
||||
},
|
||||
args: {
|
||||
content: 'Press me!',
|
||||
size: 'large',
|
||||
},
|
||||
title: 'Atoms/Button',
|
||||
component: ButtonComponent,
|
||||
argTypes: {
|
||||
content: { control: 'text' },
|
||||
},
|
||||
args: {
|
||||
content: 'Press me!',
|
||||
size: 'large',
|
||||
},
|
||||
};
|
||||
|
||||
export const Large = ({ content, ...args }) => (
|
||||
<ButtonComponent {...args}>{content}</ButtonComponent>
|
||||
<ButtonComponent {...args}>{content}</ButtonComponent>
|
||||
);
|
||||
|
||||
export const Small = ({ content, ...args }) => (
|
||||
<ButtonComponent {...args}>{content}</ButtonComponent>
|
||||
<ButtonComponent {...args}>{content}</ButtonComponent>
|
||||
);
|
||||
Small.args = {
|
||||
size: 'small',
|
||||
size: 'small',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue