mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-12 19:36:35 +00:00
feat: create custom markdown separated component
This commit is contained in:
parent
097b8ab840
commit
2dae9a679a
11
src/components/General/Markdown/MarkdownLink.tsx
Normal file
11
src/components/General/Markdown/MarkdownLink.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
const MarkdownLink = (props: any) => {
|
||||
return (
|
||||
<Link to={props.href} target="_blank">
|
||||
{props.children}
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
|
||||
export default MarkdownLink
|
Loading…
x
Reference in New Issue
Block a user