Skip to main content

GraphIcon

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

Props

  • size = {number | default: 24}
    • Icon size.
  • uri = {string}
    • Graph URI.

Example with code

import GraphIcon from '@components/GraphIcon';

const MyComponent = () => {
return (
<GraphIcon uri="http://dbpedia.org" size={16} />
);
};