Updates CheckBox Component in Table and Kanban View ( #4850 ) (#6519)

fixes #4850

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Faisal-imtiyaz123
2024-08-05 18:56:09 +05:30
committed by GitHub
parent d23e5f18c3
commit fe9144a4a7
4 changed files with 6 additions and 3 deletions

View File

@ -245,6 +245,7 @@ export const RecordBoardCard = () => {
)}
<StyledCheckboxContainer className="checkbox-container">
<Checkbox
hoverable
checked={isCurrentCardSelected}
onChange={() => setIsCurrentCardSelected(!isCurrentCardSelected)}
variant={CheckboxVariant.Secondary}

View File

@ -36,7 +36,7 @@ export const RecordTableCellCheckbox = () => {
return (
<RecordTableTd isSelected={isSelected} hasRightBorder={false}>
<StyledContainer onClick={handleClick}>
<Checkbox checked={currentRowSelected} />
<Checkbox hoverable checked={currentRowSelected} />
</StyledContainer>
</RecordTableTd>
);

View File

@ -47,6 +47,7 @@ export const RecordTableHeaderCheckboxColumn = () => {
<StyledColumnHeaderCell>
<StyledContainer>
<Checkbox
hoverable
checked={checked}
onChange={onChange}
indeterminate={indeterminate}