import clsx from 'clsx'; import { generatePath, Link } from 'react-router-dom'; import TimeSVG from '@/shared/assets/images/indicators/time.svg?react'; import BlockNumberSVG from '@/shared/assets/images/indicators/blockNumber.svg?react'; import { absoluteRoutes } from '@/shared/config'; import { RecentBlock } from '../../types'; import styles from './RecentBlockItem.module.scss'; type Props = { block: RecentBlock; className?: string; }; const RecentBlockItem = ({ block, className }: Props) => (
  • {block.hash}

    {block.number} {block.time}
  • ); export { RecentBlockItem };