We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
action
1 parent 99ec180 commit aad7fa2Copy full SHA for aad7fa2
1 file changed
src/components/card/checkable_card/checkable_card.stories.tsx
@@ -7,7 +7,6 @@
7
*/
8
9
import type { Meta, StoryObj } from '@storybook/react';
10
-import { action } from '@storybook/addon-actions';
11
12
import { EuiCheckableCard, EuiCheckableCardProps } from './checkable_card';
13
@@ -22,6 +21,7 @@ const meta: Meta<EuiCheckableCardProps> = {
22
21
control: 'radio',
23
},
24
onChange: {
+ action: 'onChange',
25
type: { name: 'function', required: true },
26
27
@@ -42,6 +42,5 @@ export const Playground: Story = {
42
args: {
43
id: 'id',
44
label: 'Checkable option',
45
- onChange: action('onChange'),
46
47
};
0 commit comments