UNPKG

@ark-ui/react

Version:

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

9 lines (8 loc) 449 B
import { HTMLProps, PolymorphicProps } from '../factory'; import { UseSwitchProps } from './use-switch'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; export interface SwitchRootBaseProps extends UseSwitchProps, PolymorphicProps { } export interface SwitchRootProps extends HTMLProps<'label'>, SwitchRootBaseProps { } export declare const SwitchRoot: ForwardRefExoticComponent<SwitchRootProps & RefAttributes<HTMLLabelElement>>;