eldav1d-marvel-ui
Version:
UI library for (and from) Playing with Marvel API
18 lines • 695 B
TypeScript
import React from 'react';
import { ICheckboxGroupProps } from '../CheckboxGroup/CheckboxGroup';
export interface ICheckboxListProps {
/**
* List of options to be displayed
* @type {string[]}
*/
options: string[];
/**
* Children to be rendered
* should be a CheckboxGroup instance
* @type {(option: string, index: number) => React.ReactElement<ICheckboxGroupProps>}
*/
children: (option: string, index: number) => React.ReactElement<ICheckboxGroupProps>;
}
declare const CheckboxList: ({ options, children }: ICheckboxListProps) => import("react/jsx-runtime").JSX.Element;
export default CheckboxList;
//# sourceMappingURL=CheckboxList.d.ts.map