UNPKG

@vertisanpro/flowbite-react

Version:

Non-Official React components built for Flowbite and Tailwind CSS

17 lines (16 loc) 643 B
import type { ComponentProps } from 'react'; import React from 'react'; import type { DeepPartial } from '../../types'; import type { FlowbiteColors } from '../Flowbite'; export interface FlowbiteCheckboxTheme { root: FlowbiteCheckboxRootTheme; } export interface FlowbiteCheckboxRootTheme { base: string; color: FlowbiteColors; } export interface CheckboxProps extends Omit<ComponentProps<'input'>, 'type' | 'ref' | 'color'> { theme?: DeepPartial<FlowbiteCheckboxTheme>; color?: keyof FlowbiteColors; } export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;