@dark-engine/core
Version:
The lightweight and powerful UI rendering engine without dependencies and written in TypeScript (Browser, Node.js, Android, iOS, Windows, Linux, macOS)
12 lines (11 loc) • 364 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
exports.Guard = void 0;
const component_1 = require('../component');
const memo_1 = require('../memo');
const Guard = (0, memo_1.memo)(
(0, component_1.component)(({ slot }) => slot, { displayName: 'Guard' }),
() => false,
);
exports.Guard = Guard;
//# sourceMappingURL=guard.js.map