import React from 'react' ; type Props = { className ? : string | null ; href : string ; } ; export const ExternalLink = ( { className = 'underline' , href , children , ... otherProps } ) => { return ( < a className = { className ?? undefined } target = "_blank" rel = "noopener noreferrer" href = { href } { ... otherProps } > { children } < /a>); } ;