"use client" import { cn } from "cn" import { Checkbox as CheckboxPrimitive, composeRenderProps, type CheckboxProps, } from "react-aria-components" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Checkbox({ className, children, ...props }: CheckboxProps) { return ( {composeRenderProps( children, (children, { isSelected, isIndeterminate }) => ( <> {(isSelected || isIndeterminate) && ( )} {children} ) )} ) } export { Checkbox }