Fix: added children type
This commit is contained in:
@@ -3,7 +3,7 @@ import { PageHeader } from "./PageHeader";
|
||||
import { PageFooter } from "./PageFooter";
|
||||
|
||||
export interface MainProps {
|
||||
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export const Main:FC<MainProps> = ({ children }) =>
|
||||
|
||||
Reference in New Issue
Block a user