import React from 'react'; export interface CheckboxProps { /** * Provide a label to show a description of the checkbox input that you are exposing to the user */ label?: string; /** * Specify whether the checkbox should be checked */ isChecked?: boolean; /** * A Boolean attribute which, if present, indicates that the user should not be able to interact with the checkbox */ isDisabled?: boolean; /** * A Boolean attribute which, if present, indicates that this checkbox button has an error */ hasError?: boolean; /** * A Boolean attribute which, if present, indicates that this checkbox is awaiting a resource */ isLoading?: boolean; /** * onClick handler */ onClick?: (event: React.MouseEvent) => void; } declare const Checkbox: ({ label, isChecked, isDisabled, hasError, isLoading, onClick, }: CheckboxProps) => JSX.Element; export default Checkbox;