Initial commit
This commit is contained in:
commit
7878e653a0
253 changed files with 24552 additions and 0 deletions
23
src/components/General/Styled/ButtonSecondary.stories.tsx
Normal file
23
src/components/General/Styled/ButtonSecondary.stories.tsx
Normal file
|
@ -0,0 +1,23 @@
|
|||
import React from 'react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import { Story, Meta } from '@storybook/react/types-6-0';
|
||||
import ButtonSecondary from './ButtonSecondary';
|
||||
|
||||
export default {
|
||||
title: 'Styled / Button Secondary',
|
||||
component: ButtonSecondary,
|
||||
} as Meta;
|
||||
|
||||
const Template: Story = (args) => (
|
||||
<ButtonSecondary {...args}>
|
||||
{args.children}
|
||||
</ButtonSecondary>
|
||||
);
|
||||
|
||||
export const Primary = Template.bind({ });
|
||||
|
||||
Primary.args = {
|
||||
children: 'Button Text',
|
||||
disabled: false,
|
||||
onClick: action('Button click'),
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue