UNPKG

@ark-ui/react

Version:

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

7 lines (6 loc) 266 B
import { ReactNode } from 'react'; import { UseSwitchContext } from './use-switch-context'; export interface SwitchContextProps { children: (context: UseSwitchContext) => ReactNode; } export declare const SwitchContext: (props: SwitchContextProps) => ReactNode;