@zag-js/editable
Version:
Core logic for the editable widget implemented as a state machine
40 lines (39 loc) • 684 B
JavaScript
// src/editable.props.ts
import { createProps } from "@zag-js/types";
import { createSplitProps } from "@zag-js/utils";
var props = createProps()([
"activationMode",
"autoResize",
"dir",
"disabled",
"finalFocusEl",
"form",
"getRootNode",
"id",
"ids",
"invalid",
"maxLength",
"name",
"onEditChange",
"onFocusOutside",
"onInteractOutside",
"onPointerDownOutside",
"onValueChange",
"onValueCommit",
"onValueRevert",
"placeholder",
"readOnly",
"required",
"selectOnFocus",
"edit",
"defaultEdit",
"submitMode",
"translations",
"defaultValue",
"value"
]);
var splitProps = createSplitProps(props);
export {
props,
splitProps
};