UNPKG

@ark-ui/react

Version:

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

9 lines (8 loc) 424 B
import { PropTypes } from '@zag-js/react'; import { Optional } from '../../types'; import * as segmentGroup from '@zag-js/radio-group'; export interface UseSegmentGroupProps extends Optional<Omit<segmentGroup.Props, 'dir' | 'getRootNode'>, 'id'> { } export interface UseSegmentGroupReturn extends segmentGroup.Api<PropTypes> { } export declare const useSegmentGroup: (props?: UseSegmentGroupProps) => UseSegmentGroupReturn;