Skip to content

What is the correct type for event in Checkbox event handler? #2607

Closed Answered by just-boris
mcalligator asked this question in Q&A
Discussion options

You must be logged in to vote

You can do this

import { Checkbox, CheckboxProps } from '@cloudscape-design/components';


const handleDeleteToggle: CheckboxProps['onChange'] = event => {
  ...
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by just-boris
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants