We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c9fe6 commit 978fb81Copy full SHA for 978fb81
src/stories/ActionMenu.stories.tsx
@@ -118,7 +118,7 @@ export function ExternalOpenState(): JSX.Element {
118
const [option, setOption] = useState('Select an option')
119
const [open, setOpen] = useState(false)
120
const onAction = (itemProps: ItemProps) => {
121
- setOption(itemProps.text)
+ setOption(itemProps.text as string)
122
}
123
return (
124
<>
0 commit comments