quartz-research-note/quartz/components/Header.tsx
Jacky Zhao 8c5dd2287a toc
2023-06-09 23:06:02 -07:00

24 lines
338 B
TypeScript

import { QuartzComponentProps } from "./types"
export default function Header({ children }: QuartzComponentProps) {
return <header>
{children}
</header>
}
Header.css = `
header {
display: flex;
flex-direction: row;
align-items: center;
margin: 1em 0 2em 0;
& > h1 {
}
}
header > h1 {
margin: 0;
flex: auto;
}
`