eldav1d-marvel-ui
Version:
UI library for (and from) Playing with Marvel API
29 lines • 758 B
TypeScript
/**
* Single checkbox with label.
* @interface
*/
export interface ICheckboxGroupProps {
/**
* @property {() => void}
* Function to handle checkbox change event.
*/
onChange: () => void;
/**
* @property {string}
* Option corresponding to the checkbox.
*/
option: string;
/**
* @property {string}
* Literal corresponding to the label.
*/
literal: string;
/**
* @property {boolean}
* Flag to determine if the checkbox is checked.
*/
isChecked: boolean;
}
declare const CheckboxGroup: ({ onChange, option, literal, isChecked }: ICheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
export default CheckboxGroup;
//# sourceMappingURL=CheckboxGroup.d.ts.map