Clear git cache

This commit is contained in:
Hazem Krimi
2023-05-28 16:44:06 +01:00
parent 2a71d7927c
commit a5b7dfd72e
178 changed files with 29055 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import { Wrapper } from './styles';
import { Text } from '..';
import { Check } from '../../assets';
type CheckBoxProps = {
className?: string;
color?: 'client' | 'productOwner' | 'developer' | 'admin';
label: string;
name: string;
checked: boolean;
onClick: () => void;
};
const CheckBox = ({
label,
name,
checked,
onClick,
...props
}: CheckBoxProps) => {
return (
<Wrapper checked={checked} {...props} onClick={onClick}>
<div className='checkbox'>
<Check />
</div>
<Text variant='body'>{label}</Text>
</Wrapper>
);
};
export default CheckBox;