File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import {
15
15
Box ,
16
16
useToken ,
17
17
HeadingProps ,
18
+ UnorderedList as ChakraUnorderedList ,
19
+ OrderedList as ChakraOrderedList ,
20
+ ListProps ,
18
21
} from "@chakra-ui/react"
19
22
20
23
import BannerNotification from "../components/BannerNotification"
@@ -123,6 +126,13 @@ const Paragraph = (props: TextProps) => (
123
126
< Text fontSize = "md" color = "text300" mt = { 8 } mb = { 4 } { ...props } />
124
127
)
125
128
129
+ const UnorderedList = ( props : ListProps ) => (
130
+ < ChakraUnorderedList ms = "1.45rem" { ...props } />
131
+ )
132
+ const OrderedList = ( props : ListProps ) => (
133
+ < ChakraOrderedList ms = "1.45rem" { ...props } />
134
+ )
135
+
126
136
const ListItem = ( props : ListItemProps ) => (
127
137
< ChakraListItem color = "text300" { ...props } />
128
138
)
@@ -190,6 +200,8 @@ const components = {
190
200
h3 : H3 ,
191
201
h4 : H4 ,
192
202
p : Paragraph ,
203
+ ul : UnorderedList ,
204
+ ol : OrderedList ,
193
205
li : ListItem ,
194
206
pre : Codeblock ,
195
207
table : MarkdownTable ,
You can’t perform that action at this time.
0 commit comments