@zag-js/steps
Version:
Core logic for the steps widget implemented as a state machine
25 lines (24 loc) • 429 B
JavaScript
// src/steps.props.ts
import { createProps } from "@zag-js/types";
import { createSplitProps } from "@zag-js/utils";
var props = createProps()([
"count",
"defaultStep",
"dir",
"getRootNode",
"id",
"ids",
"isStepSkippable",
"isStepValid",
"linear",
"onStepChange",
"onStepComplete",
"onStepInvalid",
"orientation",
"step"
]);
var splitProps = createSplitProps(props);
export {
props,
splitProps
};