UNPKG

@builder.io/mitosis

Version:

Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io

6 lines (5 loc) 231 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkHasState = void 0; const checkHasState = (component) => Boolean(Object.keys(component.state).length); exports.checkHasState = checkHasState;