import React, { FC } from "react"; import { Checkbox, CheckboxProps, Radio, RadioProps, SvgIconProps } from "@material-ui/core"; export interface SelectionIconProps { /** Props passed onto the checkbox. Do not use in conjunction with RadioProps */ CheckboxProps?: CheckboxProps; /** Whether this selection item is checked */ checked?: boolean; /** Classname to add to the root ButtonBase component */ className?: string; /** Colour variant to apply to the component */ color?: "primary" | "secondary" | "default"; /** Which control to use */ component: typeof Checkbox | typeof Radio; /** SVG icon to use for this control */ icon: (props: SvgIconProps) => React.ReactElement; /** Label to use for this control */ label: string; /** The name of the HTML input element */ name?: string; /** What to do when the control has changed */ onChange?: (e: React.ChangeEvent) => void; /** Props passed onto the Radio component. Do not use in conjunction with CheckboxProps */ RadioProps?: RadioProps; /** The value of HTML input element, if any */ value?: any; } export declare const SelectionIcon: FC; //# sourceMappingURL=index.d.ts.map