parent
7eaa0b002e
commit
5a18f0eda7
4 changed files with 17 additions and 7 deletions
@ -0,0 +1,9 @@ |
||||
export function BadgeLink({ target='_blank', variant ='primary', badgeText, href, children }) { |
||||
return ( |
||||
<p className='mb-0'> |
||||
<a href={href} target={ target }> |
||||
<span style={{ position: 'relative', top: '-2px'}} className={`badge badge-${variant}`}>{badgeText}</span> { children } |
||||
</a> |
||||
</p> |
||||
); |
||||
} |
Loading…
Reference in new issue