@zag-js/editable
Version:
Core logic for the editable widget implemented as a state machine
19 lines (18 loc) • 308 B
JavaScript
// src/editable.anatomy.ts
import { createAnatomy } from "@zag-js/anatomy";
var anatomy = createAnatomy("editable").parts(
"root",
"area",
"label",
"preview",
"input",
"editTrigger",
"submitTrigger",
"cancelTrigger",
"control"
);
var parts = anatomy.build();
export {
anatomy,
parts
};