UNPKG

@isotope/prototope-server

Version:

Server-Side Rendering (SSR) implementation for Prototope

13 lines 432 B
import { Prototope } from "@isotope/prototope"; import { PrototopeStringRegistry } from "./registry"; /** * Prototope wrapper component. * * @param config - Prototope's config. * @returns - Prototope setup object. */ const PrototopeServer = (config = {}) => (parent) => { return Prototope(config, (config) => new PrototopeStringRegistry(config))(parent); }; export { PrototopeServer }; //# sourceMappingURL=prototope.js.map