Closed edoelk closed 4 months ago
I usually wrap it in a FormControlLabel, e.g.
<FormControlLabel
control={
<Checkbox
checked={!hasExpirationDate()}
onChange={(event) => setHasExpirationDate(!hasExpirationDate()) }
/>
}
label="This label is displayed" />
Any ideas? Thank you.