UNPKG

@zag-js/collapsible

Version:

Core logic for the collapsible widget implemented as a state machine

8 lines (5 loc) 330 B
import { Service } from '@zag-js/core'; import { PropTypes, NormalizeProps } from '@zag-js/types'; import { CollapsibleSchema, CollapsibleApi } from './collapsible.types.js'; declare function connect<T extends PropTypes>(service: Service<CollapsibleSchema>, normalize: NormalizeProps<T>): CollapsibleApi<T>; export { connect };