mirror of
https://github.com/urbit/shrub.git
synced 2024-12-26 13:31:36 +03:00
interface: fix richText receiving props
This commit is contained in:
parent
b8b09b8e5e
commit
579ea86d42
@ -29,8 +29,8 @@ const RichText = React.memo(({ remoteContentPolicy, ...props }) => (
|
|||||||
}
|
}
|
||||||
return <BaseAnchor target='_blank' rel='noreferrer noopener' borderBottom='1px solid' {...props}>{props.children}</BaseAnchor>;
|
return <BaseAnchor target='_blank' rel='noreferrer noopener' borderBottom='1px solid' {...props}>{props.children}</BaseAnchor>;
|
||||||
},
|
},
|
||||||
paragraph: (props) => {
|
paragraph: (paraProps) => {
|
||||||
return <Text display='block' mb='2'>{props.children}</Text>;
|
return <Text display='block' mb='2' {...props}>{paraProps.children}</Text>;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
plugins={[[
|
plugins={[[
|
||||||
|
Loading…
Reference in New Issue
Block a user