UNPKG

fastapi-rtk

Version:

A React component library for FastAPI in combination with FastAPI React Toolkit backend, built with Mantine, JsonForms, and Zustand.

9 lines (8 loc) 296 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const hooks = require("fastapi-rtk/hooks"); function LazyLoadWrapper({ children, cond }) { const show = hooks.useTrueOnce(cond); return show ? children : null; } exports.LazyLoadWrapper = LazyLoadWrapper;