summaryrefslogtreecommitdiffstats
path: root/src/ui/objects/Body.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/objects/Body.tsx')
-rw-r--r--src/ui/objects/Body.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ui/objects/Body.tsx b/src/ui/objects/Body.tsx
new file mode 100644
index 0000000..149662c
--- /dev/null
+++ b/src/ui/objects/Body.tsx
@@ -0,0 +1,21 @@
1import type { HTMLAttributes } from "corvos/plugins/jsx.ts";
2
3export type Props = HTMLAttributes<"div">;
4
5export const Body = ({ class: cls, ...props }: Props) => (
6 <div
7 class:list={[
8 "s-body",
9 "s-headings",
10 "s-headings--display",
11 "s-links",
12 "s-links--colored",
13 "s-code",
14 "s-figures",
15 "s-blockquotes",
16 "s-lists",
17 cls,
18 ]}
19 {...props}
20 />
21);