feat: table formatting

This commit is contained in:
TrèsAbhi committed 2024-06-05 12:26:10 -05:00
1 parent 69ac95415a
commit 55a78ebd2f
1 file changed
+7
@@ -1,3 +1,4 @@
import { Table } from '@radix-ui/themes';
import Markdown from 'markdown-to-jsx';
import { use } from 'react';
import { Link } from '../../../../components/Link';
@@ -21,6 +22,12 @@ export default function Page({
options={{
overrides: {
a: { component: Link },
table: { component: Table.Root },
thead: { component: Table.Header },
tbody: { component: Table.Body },
tr: { component: Table.Row },
th: { component: Table.ColumnHeaderCell },
td: { component: Table.Cell },
},
}}
>