UNPKG

chenw-tool

Version:

React components using pure Bootstrap 5+ which does not contain any external style and script libraries.

16 lines (15 loc) 489 B
import React from "react"; interface CheckboxProps { checkboxList: Array<{ id: string | number; name: string; value: string; }>; groupName: string; selectedValues: string[]; onChange: (value: string[]) => void; type?: "inline" | "block"; disableLastIfSelected?: boolean; } export default function Checkbox({ checkboxList, groupName, selectedValues, onChange, type, disableLastIfSelected, }: CheckboxProps): React.JSX.Element; export {};