How to use the @hashicorp/react-link-wrap.isAbsoluteURL function in @hashicorp/react-link-wrap

To help you get started, we’ve selected a few @hashicorp/react-link-wrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hashicorp / nomad / website / .yalc / @hashicorp / react-docs-sidenav / index.js View on Github external
function DirectLink({ title, href, isActive }) {
  return (
    <li>
      
        
        <span title="">
        {isAbsoluteURL(href) ? (
          
        ) : null}
      </span>
    </li>
  )
}

@hashicorp/react-link-wrap

Wraps a standard 'a' element to enable NextJS Link usage

MPL-2.0
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis

Popular @hashicorp/react-link-wrap functions

Similar packages