UNPKG

@zag-js/avatar

Version:

Core logic for the avatar widget implemented as a state machine

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