@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
13 lines (12 loc) • 580 B
TypeScript
import { HTMLProps, PolymorphicProps } from '../factory';
import { UseCheckboxReturn } from './use-checkbox';
import { ForwardRefExoticComponent, RefAttributes } from 'react';
interface RootProviderProps {
value: UseCheckboxReturn;
}
export interface CheckboxRootProviderBaseProps extends RootProviderProps, PolymorphicProps {
}
export interface CheckboxRootProviderProps extends HTMLProps<'label'>, CheckboxRootProviderBaseProps {
}
export declare const CheckboxRootProvider: ForwardRefExoticComponent<CheckboxRootProviderProps & RefAttributes<HTMLLabelElement>>;
export {};