Skip to main content

GraphLink

Displays a graph link, given a graph URI. The url has to be set in config.js.

Props

  • target = {string | default: "_blank"}
  • rel = {string | default: "noopener noreferrer"}
    • Anchor rel attribute.
  • uri = {string}
    • Graph URI.
  • icon = {boolean} Display icon if set to true.
  • label = {boolean}
    • Display label if set to true.

Example with code

import GraphLink from '@components/GraphLink';

const MyComponent = () => {
return (
<GraphLink uri="http://dbpedia.org" icon label />
);
};