mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
drop some types in
This commit is contained in:
@@ -2,11 +2,11 @@ import React from 'react'
|
||||
|
||||
import Header from './Header'
|
||||
|
||||
export default function (props) {
|
||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div id="app">
|
||||
<Header />
|
||||
<div id="content">{props.children}</div>
|
||||
<div id="content">{children}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user