import React , { FC } from 'react' ; import { TextProps , Link } from '@island.is/island-ui/core' ; interface HyperlinkProps { href ? : string ; slug ? : string ; variant ? : TextProps [ 'variant' ] ; as ? : TextProps [ 'as' ] ; } export const Hyperlink = ( { href , children } ) => ( < Link href = { href } color = "blue400" underline = "small" underlineVisibility = "always" > { children } < /Link>); export default Hyperlink ;