{convertChildren(node, level)}case Type.BulletList: { - const listStyleType = node.bullet === Bullet.text ? node.text : node.bullet + const listStyleType = + node.bullet === Bullet.text ? node.text : node.bullet return
({ style, ...props }: P & { style?: React.CSSProperties }) => ({ +const style2Sx =
({
+ style,
+ ...props
+}: P & { style?: React.CSSProperties }) => ({
...props,
...(props ? { sx: style as SystemStyleObject } : {}),
})
@@ -59,18 +63,25 @@ const High: FC