import * as React from "react"; export interface ControlProps { onChange?: ( args: { value: OptionType; checked: boolean }, e: React.MouseEvent ) => void; value: OptionType; label: React.ReactNode; checked?: boolean; disabled?: boolean; children?: (props: ControlProps) => React.ReactNode; type: "radio" | "checkbox"; className?: string; iconClassName?: string; indeterminate?: boolean; }