interface: fix richText receiving props

This commit is contained in:
Matilde Park 2020-10-13 20:59:48 -04:00
parent b8b09b8e5e
commit 579ea86d42

View File

@ -29,8 +29,8 @@ const RichText = React.memo(({ remoteContentPolicy, ...props }) => (
}
return <BaseAnchor target='_blank' rel='noreferrer noopener' borderBottom='1px solid' {...props}>{props.children}</BaseAnchor>;
},
paragraph: (props) => {
return <Text display='block' mb='2'>{props.children}</Text>;
paragraph: (paraProps) => {
return <Text display='block' mb='2' {...props}>{paraProps.children}</Text>;
}
}}
plugins={[[