@zag-js/avatar
Version:
Core logic for the avatar widget implemented as a state machine
8 lines (5 loc) • 305 B
TypeScript
import { PropTypes, NormalizeProps } from '@zag-js/types';
import { Service } from '@zag-js/core';
import { AvatarSchema, AvatarApi } from './avatar.types.js';
declare function connect<T extends PropTypes>(service: Service<AvatarSchema>, normalize: NormalizeProps<T>): AvatarApi<T>;
export { connect };