@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
9 lines (8 loc) • 417 B
text/typescript
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as toggleGroup from '@zag-js/toggle-group';
export interface UseToggleGroupProps extends Optional<Omit<toggleGroup.Props, 'dir' | 'getRootNode'>, 'id'> {
}
export interface UseToggleGroupReturn extends toggleGroup.Api<PropTypes> {
}
export declare const useToggleGroup: (props?: UseToggleGroupProps) => UseToggleGroupReturn;