summaryrefslogtreecommitdiffstats
path: root/src/ui/objects/Body.tsx
blob: 149662c72ed0b89c7c50b46b71a1a36747b2d013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import type { HTMLAttributes } from "corvos/plugins/jsx.ts";

export type Props = HTMLAttributes<"div">;

export const Body = ({ class: cls, ...props }: Props) => (
	<div
		class:list={[
			"s-body",
			"s-headings",
			"s-headings--display",
			"s-links",
			"s-links--colored",
			"s-code",
			"s-figures",
			"s-blockquotes",
			"s-lists",
			cls,
		]}
		{...props}
	/>
);