import React from 'react' import { styled } from '@stitches/react' import * as CheckboxPrimitive from '@radix-ui/react-checkbox' import { CheckIcon } from './images/CheckIcon' const Checkbox = styled(CheckboxPrimitive.Root, { all: 'unset', width: 16, height: 16, minWidth: 16, minHeight: 16, borderRadius: 3, display: 'flex', alignItems: 'center', justifyContent: 'center', }) const CheckboxIndicator = styled(CheckboxPrimitive.Indicator, { color: '#FFFFFF', }) export const CheckboxComponent: React.FC<{ checked: boolean setChecked: (arg: boolean) => void }> = ({ checked, setChecked }) => { const toggleChecked = () => setChecked(!checked) return ( ) } export default CheckboxComponent