UNPKG

@zag-js/tooltip

Version:

Core logic for the tooltip widget implemented as a state machine

9 lines (8 loc) 238 B
// src/tooltip.anatomy.ts import { createAnatomy } from "@zag-js/anatomy"; var anatomy = createAnatomy("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"); var parts = anatomy.build(); export { anatomy, parts };