UNPKG

@zag-js/tags-input

Version:

Core logic for the tags-input widget implemented as a state machine

10 lines (7 loc) 387 B
import { Service } from '@zag-js/core'; import { PropTypes, NormalizeProps } from '@zag-js/types'; import { TagsInputSchema, TagsInputApi } from './tags-input.types.mjs'; import '@zag-js/interact-outside'; import '@zag-js/live-region'; declare function connect<T extends PropTypes>(service: Service<TagsInputSchema>, normalize: NormalizeProps<T>): TagsInputApi<T>; export { connect };