UNPKG

@zag-js/signature-pad

Version:

Core logic for the signature-pad widget implemented as a state machine

10 lines (7 loc) 372 B
import { SignaturePadProps } from './signature-pad.types.js'; import '@zag-js/core'; import '@zag-js/types'; import 'perfect-freehand'; declare const props: (keyof SignaturePadProps)[]; declare const splitProps: <Props extends Partial<SignaturePadProps>>(props: Props) => [Partial<SignaturePadProps>, Omit<Props, keyof SignaturePadProps>]; export { props, splitProps };