import * as React from 'react'; import { IconLink, clipboardCopy, styled } from '../../src'; interface PathlineRendererProps { children: React.ReactNode; } const StyledIconLink = styled(IconLink)` display: flex; font-family: Consolas, 'Liberation Mono', Menlo, monospace; `; const PathlineRenderer: React.SFC = ({ children }) => { return ( clipboardCopy(children as string)}> {children} ); }; export default PathlineRenderer;