@builder.io/mitosis
Version:
Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io
20 lines (19 loc) • 474 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.HOOKS = void 0;
exports.HOOKS = {
STORE: 'useStore',
STATE: 'useState',
CONTEXT: 'useContext',
REF: 'useRef',
DEFAULT_PROPS: 'useDefaultProps',
STYLE: 'useStyle',
TARGET: 'useTarget',
METADATA: 'useMetadata',
MOUNT: 'onMount',
EVENT: 'onEvent',
UNMOUNT: 'onUnMount',
UPDATE: 'onUpdate',
INIT: 'onInit',
SET_CONTEXT: 'setContext',
};
;