diff --git a/apps/explorer/src/app/components/truncate/truncated-link.tsx b/apps/explorer/src/app/components/truncate/truncated-link.tsx new file mode 100644 index 000000000..709435906 --- /dev/null +++ b/apps/explorer/src/app/components/truncate/truncated-link.tsx @@ -0,0 +1,27 @@ +import { TruncateInline } from './truncate'; +import { Link } from 'react-router-dom'; + +interface TruncatedLinkProps { + to: string; + text: string; + startChars: number; + endChars: number; +} + +export const TruncatedLink = ({ + to, + text, + startChars, + endChars, +}: TruncatedLinkProps) => { + return ( + + + + ); +};