mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
RichText: pass props correctly
This commit is contained in:
parent
3ba8e7bce1
commit
66f781fe51
@ -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}>{props.children}</Text>;
|
||||
paragraph: (paraProps) => {
|
||||
return <Text display='block' mb='2' {...props} {...paraProps}>{props.children}</Text>;
|
||||
}
|
||||
}}
|
||||
plugins={[[
|
||||
|
Loading…
Reference in New Issue
Block a user