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