Feat/dataset notion import (#392)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
This commit is contained in:
Jyong 2023-06-16 21:47:51 +08:00 • committed by GitHub
commit 9253f72dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
96 changed files with 4479 additions and 367 deletions

View file

@ -0,0 +1,19 @@
import cn from 'classnames'
import s from './index.module.css'
type CheckboxProps = {
checked?: boolean
onCheck?: () => void
className?: string
}
const Checkbox = ({ checked, onCheck, className }: CheckboxProps) => {
return (
<div
className={cn(s.wrapper, checked && s.checked, 'w-4 h-4 border rounded border-gray-300', className)}
onClick={onCheck}
/>
)
}
export default Checkbox