change: added external icon for integration doc links
This commit is contained in:
parent
dbf1131cc7
commit
2596df7202
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react'
|
||||
import { Button } from 'UI'
|
||||
import { Button, Icon } from 'UI'
|
||||
|
||||
export default function DocLink({ className = '', url, label }) {
|
||||
const openLink = () => {
|
||||
|
|
@ -9,7 +9,10 @@ export default function DocLink({ className = '', url, label }) {
|
|||
return (
|
||||
<div className={className}>
|
||||
<Button outline onClick={openLink}>
|
||||
{ label }
|
||||
<div className="flex items-center">
|
||||
<span className="mr-2">{ label }</span>
|
||||
<Icon name="external-link-alt" color="teal" />
|
||||
</div>
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue