UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

18 lines (17 loc) 878 B
import React from 'react'; import { ICheckboxControlled } from './types/checkbox'; declare const CheckboxBoundary: <V extends string | unknown>(props: ICheckboxControlled<V>, ref?: React.ForwardedRef<HTMLInputElement> | undefined | null) => JSX.Element; /** * @description * Checkbox component is a input component that can be used to select one or more options from a list of options. * It can be used to create a list of options that can be selected. * @param {React.PropsWithChildren<ICheckboxControlled<V>>} props * @returns {JSX.Element} * @constructor * @example * <Checkbox variant="checkbox" /> */ declare const CheckboxControlled: <V extends string | unknown>(props: React.PropsWithChildren<ICheckboxControlled<V>> & { ref?: React.ForwardedRef<HTMLInputElement> | undefined | null; }) => ReturnType<typeof CheckboxBoundary>; export { CheckboxControlled };