UNPKG

@zag-js/signature-pad

Version:

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

25 lines (24 loc) 414 B
// src/signature-pad.props.ts import { createProps } from "@zag-js/types"; import { createSplitProps } from "@zag-js/utils"; var props = createProps()([ "defaultPaths", "dir", "disabled", "drawing", "getRootNode", "id", "ids", "name", "onDraw", "onDrawEnd", "paths", "readOnly", "required", "translations" ]); var splitProps = createSplitProps(props); export { props, splitProps };