mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* move nav icons to separate directory * remove unnecessary "slim" suffix from some icon names * fix screenshots
15 lines
458 B
TypeScript
15 lines
458 B
TypeScript
import { chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import { route } from 'nextjs/routes';
|
|
|
|
import * as TxEntity from './TxEntity';
|
|
|
|
const TxEntityZetaChainCC = (props: TxEntity.EntityProps) => {
|
|
const defaultHref = route({ pathname: '/cc/tx/[hash]', query: { hash: props.hash } });
|
|
|
|
return <TxEntity.default { ...props } icon={{ name: 'interop' }} href={ props.href ?? defaultHref }/>;
|
|
};
|
|
|
|
export default chakra(TxEntityZetaChainCC);
|