import { memo } from "preact/compat"; import { twMerge } from "tailwind-merge"; import ok from "../../icons/Ok/ok-grey.svg"; import type { InputHTMLAttributes } from "preact"; export type CheckboxProps = { checkedIconUrl?: string; className?: string; } & InputHTMLAttributes; function Checkbox({ className, ...props }: CheckboxProps) { const checkedIconUrl = props.checkedIconUrl || ok; return ( ); } export default memo(Checkbox);