UNPKG

@ark-ui/react

Version:

A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.

10 lines (9 loc) 511 B
import { Assign } from '../../types'; import { HTMLProps, PolymorphicProps } from '../factory'; import { UseCheckboxProps } from './use-checkbox'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; export interface CheckboxRootBaseProps extends UseCheckboxProps, PolymorphicProps { } export interface CheckboxRootProps extends Assign<HTMLProps<'label'>, CheckboxRootBaseProps> { } export declare const CheckboxRoot: ForwardRefExoticComponent<CheckboxRootProps & RefAttributes<HTMLLabelElement>>;