UNPKG

@ark-ui/react

Version:

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

13 lines (12 loc) 564 B
import { HTMLProps, PolymorphicProps } from '../factory'; import { UseSwitchReturn } from './use-switch'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; interface RootProviderProps { value: UseSwitchReturn; } export interface SwitchRootProviderBaseProps extends RootProviderProps, PolymorphicProps { } export interface SwitchRootProviderProps extends HTMLProps<'label'>, SwitchRootProviderBaseProps { } export declare const SwitchRootProvider: ForwardRefExoticComponent<SwitchRootProviderProps & RefAttributes<HTMLLabelElement>>; export {};