Files
explore/ui/shared/entities/tx/TxEntityZetaChainCC.tsx
tom goriunovandGitHub a77568ce0a Refactor navigation icon (#3191)
* move nav icons to separate directory

* remove unnecessary "slim" suffix from some icon names

* fix screenshots
2025-12-19 10:29:29 +01:00

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);