|
1 | 1 | import { Box } from './Box'
|
2 | 2 | import {
|
3 | 3 | LightSecondaryBtn,
|
4 |
| - NewAlertPrimaryBtn, |
5 | 4 | NewAlertSecondaryBtn,
|
6 | 5 | NewPrimaryBtn,
|
7 | 6 | NewSecondaryBtn,
|
@@ -36,37 +35,28 @@ Secondary.args = {
|
36 | 35 | title: 'secondary button title',
|
37 | 36 | }
|
38 | 37 |
|
39 |
| -const AppPrimaryTemlate: Story< |
| 38 | +const AppPrimaryTemplate: Story< |
40 | 39 | React.ComponentProps<typeof NewPrimaryBtn>
|
41 | 40 | > = args => <NewPrimaryBtn {...args} />
|
42 |
| -export const AppPrimary = AppPrimaryTemlate.bind({}) |
| 41 | +export const AppPrimary = AppPrimaryTemplate.bind({}) |
43 | 42 | AppPrimary.args = {
|
44 | 43 | children: 'Confirm and Proceed',
|
45 | 44 | title: 'app primary button title',
|
46 | 45 | }
|
47 | 46 |
|
48 |
| -const AppSecondaryTemlate: Story< |
| 47 | +const AppSecondaryTemplate: Story< |
49 | 48 | React.ComponentProps<typeof NewSecondaryBtn>
|
50 | 49 | > = args => <NewSecondaryBtn {...args} />
|
51 |
| -export const AppSecondary = AppSecondaryTemlate.bind({}) |
| 50 | +export const AppSecondary = AppSecondaryTemplate.bind({}) |
52 | 51 | AppSecondary.args = {
|
53 | 52 | children: 'Confirm and Proceed',
|
54 | 53 | title: 'app secondary button title',
|
55 | 54 | }
|
56 | 55 |
|
57 |
| -const AppAlertPrimaryTemlate: Story< |
58 |
| - React.ComponentProps<typeof NewAlertPrimaryBtn> |
59 |
| -> = args => <NewAlertPrimaryBtn {...args} /> |
60 |
| -export const AppAlertPrimary = AppAlertPrimaryTemlate.bind({}) |
61 |
| -AppAlertPrimary.args = { |
62 |
| - children: 'Cancel', |
63 |
| - title: 'app alert primary button title', |
64 |
| -} |
65 |
| - |
66 |
| -const AppAlertSecondaryTemlate: Story< |
| 56 | +const AppAlertSecondaryTemplate: Story< |
67 | 57 | React.ComponentProps<typeof NewAlertSecondaryBtn>
|
68 | 58 | > = args => <NewAlertSecondaryBtn {...args} />
|
69 |
| -export const AppAlertSecondary = AppAlertSecondaryTemlate.bind({}) |
| 59 | +export const AppAlertSecondary = AppAlertSecondaryTemplate.bind({}) |
70 | 60 | AppAlertSecondary.args = {
|
71 | 61 | children: 'Cancel',
|
72 | 62 | title: 'app alert secondary button title',
|
|
0 commit comments