Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

type of children for nextjs

interface LayoutProps {
   children: React.ReactNode;
}

function Layout({ children }: LayoutProps) {
 
PREVIOUS NEXT
Tagged: #type #children #nextjs
ADD COMMENT
Topic
Name
5+5 =