import type { PropsWithChildren } from 'react'; import React from 'react'; import { Helmet } from 'dumi'; import Footer from '../../slots/Footer'; interface IndexLayoutProps { title?: string; desc?: string; } const IndexLayout: React.FC> = (props) => { const { children, title, desc } = props; return ( <> {title} {desc && }
{children}