@builder.io/mitosis
Version:
Write components once, run everywhere. Compiles to Vue, React, Solid, and Liquid. Import code from Figma and Builder.io
28 lines (27 loc) • 675 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Fragment = exports.Show = exports.Slot = exports.For = void 0;
/**
* Flow control based on Solid
*
* https://github.com/ryansolid/solid/blob/master/packages/solid/src/rendering/flow.ts
* https://github.com/ryansolid/solid/blob/master/documentation/rendering.md
*
* These elements all compile away so they return `null`
*/
function For(props) {
return null;
}
exports.For = For;
function Slot(props) {
return null;
}
exports.Slot = Slot;
function Show(props) {
return null;
}
exports.Show = Show;
function Fragment(props) {
return null;
}
exports.Fragment = Fragment;