feat: create custom markdown separated component
This commit is contained in:
parent
097b8ab840
commit
2dae9a679a
|
@ -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…
Reference in New Issue