Skip to content

Commit

Permalink
Fix reused control obj type
Browse files Browse the repository at this point in the history
- by casting to a const
  • Loading branch information
cee-chen committed Nov 21, 2024
1 parent ae1cf97 commit 2fe89ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eui/src/components/comment_list/comment.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const _eventColorArgType = {
'accent',
],
control: { type: 'radio' },
};
} as const;
export const _actionsExampleArgType = {
control: 'radio',
options: ['Example action', 'No actions'],
Expand All @@ -46,7 +46,7 @@ export const _actionsExampleArgType = {
'No actions': null,
},
defaultValue: 'Example action',
};
} as const;

/**
* Rendered stories
Expand Down

0 comments on commit 2fe89ed

Please sign in to comment.