Update checkbox API (#663)

* Update checkbox API

* Fix test
This commit is contained in:
Emilien Chauvet
2023-07-14 18:44:32 -07:00
committed by GitHub
parent b971464fe5
commit efd4ed16d6
7 changed files with 14 additions and 26 deletions

View File

@ -132,9 +132,7 @@ export function CompanyBoardCard() {
/>
<span>{company.name}</span>
<div style={{ display: 'flex', flex: 1 }} />
<div onClick={handleCheckboxChange}>
<Checkbox checked={selected} />
</div>
<Checkbox checked={selected} onChange={handleCheckboxChange} />
</StyledBoardCardHeader>
<StyledBoardCardBody>
<span>