Skip to content

Commit aad7fa2

Browse files
committed
[PR feedback] action
1 parent 99ec180 commit aad7fa2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/card/checkable_card/checkable_card.stories.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
import type { Meta, StoryObj } from '@storybook/react';
10-
import { action } from '@storybook/addon-actions';
1110

1211
import { EuiCheckableCard, EuiCheckableCardProps } from './checkable_card';
1312

@@ -22,6 +21,7 @@ const meta: Meta<EuiCheckableCardProps> = {
2221
control: 'radio',
2322
},
2423
onChange: {
24+
action: 'onChange',
2525
type: { name: 'function', required: true },
2626
},
2727
},
@@ -42,6 +42,5 @@ export const Playground: Story = {
4242
args: {
4343
id: 'id',
4444
label: 'Checkable option',
45-
onChange: action('onChange'),
4645
},
4746
};

0 commit comments

Comments
 (0)