react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
22 lines • 736 B
TypeScript
import { Flow } from "../../../types/Flow";
import "./BotCheckboxes.css";
/**
* Supports showing of checkboxes for user to mark.
*
* @param checkboxes object representing checkboxes to show and min/max number of selections
* @param checkedItems set representing items marked
* @param path path associated with the current block
*/
declare const BotCheckboxes: ({ checkboxes, checkedItems, path, }: {
checkboxes: {
items: Array<string>;
max?: number;
min?: number;
sendOutput?: boolean;
reusable?: boolean;
};
checkedItems: Set<string>;
path: keyof Flow;
}) => import("react/jsx-runtime").JSX.Element;
export default BotCheckboxes;
//# sourceMappingURL=BotCheckboxes.d.ts.map