import { colors } from '@0xproject/react-shared'; import * as React from 'react'; import { Source } from '../types'; export interface SourceLinkProps { source: Source; sourceUrl: string; version: string; } export const SourceLink = (props: SourceLinkProps) => { const src = props.source; const sourceCodeUrl = `${props.sourceUrl}/${src.fileName}#L${src.line}`; return (
Source
); };