mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
* blob page placeholder * txs with blobs list view * tx additional info popup * blob gas info for tx and block * update hints * tx blobs tab * blob details page * add ENV to hide blob txs tab * tx blob fees and adj for tx burnt fees * preliminary tests * blob data convertion * display blob data type in lists * download asset * blob txs in block * tests for blob data preview * fixes * fix tests * support blobs in search * update blob icon * more fixes
23 lines
519 B
TypeScript
23 lines
519 B
TypeScript
import { Box } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import type { TxBlob } from 'types/api/blobs';
|
|
|
|
import TxBlobListItem from './TxBlobListItem';
|
|
|
|
const TxBlobList = ({ data, isLoading }: { data: Array<TxBlob>; isLoading?: boolean }) => {
|
|
return (
|
|
<Box>
|
|
{ data.map((item, index) => (
|
|
<TxBlobListItem
|
|
key={ item.hash + (isLoading ? index : '') }
|
|
data={ item }
|
|
isLoading={ isLoading }
|
|
/>
|
|
)) }
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default TxBlobList;
|