UNPKG

@zag-js/toggle-group

Version:

Core logic for the toggle widget implemented as a state machine

8 lines (5 loc) 307 B
import { PropTypes, NormalizeProps } from '@zag-js/types'; import { ToggleGroupService, ToggleGroupApi } from './toggle-group.types.js'; import '@zag-js/core'; declare function connect<T extends PropTypes>(service: ToggleGroupService, normalize: NormalizeProps<T>): ToggleGroupApi<T>; export { connect };