UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

19 lines 566 B
import './Checkbox.scss'; import React from 'react'; interface CheckboxBase { name?: string; value: boolean; indeterminate?: boolean; size?: 'sm' | 'md'; onChange: (value: boolean) => void; } export type CheckboxProps = (CheckboxBase & { label: string; ariaLabel?: string; }) | (CheckboxBase & { label?: undefined; ariaLabel: string; }); declare const Checkbox: ({ name, value, label, ariaLabel, size, indeterminate, onChange, }: CheckboxProps) => React.JSX.Element; export default Checkbox; //# sourceMappingURL=Checkbox.d.ts.map