nestjs-tsx-views
Version:
Server-side JSX/TSX rendering for your NestJS application 🚀
8 lines • 343 B
JavaScript
import React from 'react';
export const MainLayout = ({ title, children, }) => (React.createElement("html", null,
React.createElement("head", null,
React.createElement("title", null, title)),
React.createElement("body", null,
React.createElement("h1", null, title),
children)));
//# sourceMappingURL=main.js.map