14 lines
279 B
TypeScript
14 lines
279 B
TypeScript
export default function({ title, children }) {
|
|
return (
|
|
<html>
|
|
<head>
|
|
<meta charSet="utf-8"/>
|
|
<title>{ title }</title>
|
|
<link rel="stylesheet" href="styles.css"/>
|
|
</head>
|
|
<body>
|
|
{ children }
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|