import React, { FC, HTMLAttributes } from 'react'; import Tooltip from '@material-ui/core/Tooltip'; import Chip from '@material-ui/core/Chip'; import Identicon from 'react-identicons'; export interface Props extends HTMLAttributes { value: string; onClick?: any; } // Please do not use types off of a default export module or else Storybook Docs will suffer. // see: https://github.com/storybookjs/storybook/issues/9556 export const LinkedDataIdentifier: FC = ({ value, onClick }) => { return ( } style={{ maxWidth: '224px' }} label={value} onClick={onClick} /> ); };