UNPKG

@ark-ui/react

Version:

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

9 lines (8 loc) 451 B
import { HTMLProps, PolymorphicProps } from '../factory'; import { UseToggleProps } from './use-toggle'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; export interface ToggleRootBaseProps extends UseToggleProps, PolymorphicProps { } export interface ToggleRootProps extends HTMLProps<'button'>, ToggleRootBaseProps { } export declare const ToggleRoot: ForwardRefExoticComponent<ToggleRootProps & RefAttributes<HTMLButtonElement>>;