GraphLink
Displays a graph link, given a graph URI. The url has to be set in config.js.
Props
target = {string | default: "_blank"}- Anchor target attribute.
rel = {string | default: "noopener noreferrer"}- Anchor rel attribute.
uri = {string}- Graph URI.
icon = {boolean}Display icon if set totrue.label = {boolean}- Display label if set to
true.
- Display label if set to
Example with code
import GraphLink from '@components/GraphLink';
const MyComponent = () => {
return (
<GraphLink uri="http://dbpedia.org" icon label />
);
};