@zag-js/signature-pad
Version:
Core logic for the signature-pad widget implemented as a state machine
9 lines (6 loc) • 339 B
TypeScript
import { PropTypes, NormalizeProps } from '@zag-js/types';
import { SignaturePadService, SignaturePadApi } from './signature-pad.types.js';
import '@zag-js/core';
import 'perfect-freehand';
declare function connect<T extends PropTypes>(service: SignaturePadService, normalize: NormalizeProps<T>): SignaturePadApi<T>;
export { connect };