@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
23 lines (22 loc) • 660 B
TypeScript
/// <reference types="react" />
import { FormikHandlers } from 'formik';
export interface CheckboxInputProps {
name: string;
label?: React.ReactNode;
onChange?: FormikHandlers['handleChange'];
optionDescription?: string;
disabled?: boolean;
}
export declare const CheckboxInput: React.FC<CheckboxInputProps>;
export interface CheckboxProps {
name: string;
label?: React.ReactNode;
required?: boolean;
tooltip?: string;
description?: string;
onChange?: FormikHandlers['handleChange'];
optionDescription?: string;
disabled?: boolean;
}
declare const Checkbox: React.FC<CheckboxProps>;
export default Checkbox;