import { ReactElement, ReactNode } from 'react'; import { InputProps } from '../typings'; export interface ControlCheckboxSetProps { id: string; onChange: (value: Array, id: string) => void; options: Array; value?: Array; icon?: string; autoFocus?: boolean; validationError?: ReactNode; themeCheckboxGroup?: string; themeCheckboxContainer?: string; themeCheckbox?: string; themeControlWrapper?: string; } declare function ControlCheckboxSet({ id, onChange, value, options, autoFocus, icon, validationError, themeCheckboxGroup, themeCheckboxContainer, themeCheckbox, themeControlWrapper }: ControlCheckboxSetProps): ReactElement; declare namespace ControlCheckboxSet { var propTypes: { /** Unique id for this control. */ id: any; /** * An array of object(s) that represent each option of the set. * Each object should contain two fields: * * - `label` which can either be a string or valid JSX * - `value` a unique string value * * Any additional fields added will be passed as attributes to the input * element. */ options: any; /** * Invoked when the control's value changes. * Passed two arguments: * * - The value. A string matching the `value` field of one of the `options` * props passed. * - The `id` prop. */ onChange: any; /** Accepts an array of strings, where each string matches the value property of an entry in the options prop. */ value: any; /** Icon to use for the checkbox active style. Must match an icon name available in Assembly. */ icon: any; /** When `true`, autofocus attributes are applied to the input that matches the `value` prop passed. */ autoFocus: any; /** A validation error to display beneath the control. */ validationError: any; /** Classes to apply to the element wrapping all checkboxes. Use `flex gap12` for a horizontal layout. */ themeCheckboxGroup: any; /** Classes to apply to the checkbox container. */ themeCheckboxContainer: any; /** Classes to apply to the checkbox element. */ themeCheckbox: any; /** Classes to apply to the control container. */ themeControlWrapper: any; }; } export default ControlCheckboxSet;