/
githubmirror
/
trpc
Обзор
Документация
Войти
/
githubmirror
/
trpc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/next-prisma-starter/src/components/DefaultLayout.tsx
17 строк
391 B
Alex / KATT
chore: add `consistent-type-(imports|exports)` lint rules (#5274)
08 янв 2024, 01:33
Не верифицирован
08 янв 2024, 01:33
b93149c
Код
Авторство
О чём код?
import Head from 'next/head'; import type { ReactNode } from 'react'; type DefaultLayoutProps = { children: ReactNode }; export const DefaultLayout = ({ children }: DefaultLayoutProps) => { return ( <> <Head> <title>Prisma Starter</title> <link rel="icon" href="/favicon.ico" /> </Head> <main className="h-screen">{children}</main> </> ); };