import React from "react"; import { IconBaseProps } from "react-icons"; export type CheckboxWithContentProps = Omit, "onChange"> & { contentContainerProps?: React.HTMLAttributes; iconProps?: IconBaseProps; checked?: boolean; onChange?: (to: boolean) => void; fullwidth?: boolean; checkboxLabelContent?: { content?: React.ReactNode; className?: string; }; }; export default function CheckboxWithContent({ checked, onChange, contentContainerProps, children, iconProps, fullwidth, disabled, checkboxLabelContent, ...props }: CheckboxWithContentProps): React.JSX.Element;