UNPKG

nestjs-tsx-views

Version:

Server-side JSX/TSX rendering for your NestJS application 🚀

8 lines (7 loc) • 204 B
import { ReactElement } from 'react'; export interface MyViewProps { name: string; title: string; } declare const MyView: ({ name, ...props }: MyViewProps) => ReactElement; export default MyView;