{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "transaction-history-list",
  "type": "registry:item",
  "title": "Transaction History List",
  "description": "A transaction-history-list block.",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "blocks/transaction-history-list/transaction-history-list.tsx",
      "target": "src/mui-treasury/blocks/transaction-history-list/transaction-history-list.tsx",
      "content": "import * as React from 'react';\n\nimport Avatar from '@mui/material/Avatar';\nimport Box from '@mui/material/Box';\nimport Card from '@mui/material/Card';\nimport Link from '@mui/material/Link';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n\nconst transactions = [\n  {\n    id: 1,\n    name: 'Cody Fisher',\n    company: 'Louis Vuitton',\n    amount: '$1,546.12',\n    date: '1 Jun 2022',\n    avatar: 'https://i.pravatar.cc/150?img=11',\n  },\n  {\n    id: 2,\n    name: 'Esther Howard',\n    company: 'Starbucks',\n    amount: '$1,546.12',\n    date: '1 May 2022',\n    avatar: 'https://i.pravatar.cc/150?img=5',\n  },\n  {\n    id: 3,\n    name: 'Wade Warren',\n    company: 'Louis Vuitton',\n    amount: '$1,546.12',\n    date: '1 Apr 2022',\n    avatar: 'https://i.pravatar.cc/150?img=9',\n  },\n  {\n    id: 4,\n    name: 'Brooklyn Simmons',\n    company: 'Sony',\n    amount: '$1,546.12',\n    date: '1 Mar 2022',\n    avatar: 'https://i.pravatar.cc/150?img=12',\n  },\n];\n\nexport function TransactionHistoryList() {\n  return (\n    <Card\n      sx={{\n        p: 3,\n        borderRadius: 2,\n        boxShadow: 1,\n      }}\n    >\n      <Box\n        sx={{\n          display: 'flex',\n          justifyContent: 'space-between',\n          alignItems: 'baseline',\n          mb: 3,\n        }}\n      >\n        <Typography variant=\"h6\" component=\"h2\">\n          Transaction History\n        </Typography>\n        <Link\n          href=\"#\"\n          underline=\"hover\"\n          color=\"info\"\n          sx={{\n            fontSize: 14,\n            fontWeight: 500,\n          }}\n          aria-label=\"View all transactions\"\n        >\n          See All\n        </Link>\n      </Box>\n\n      <Stack\n        component=\"ul\"\n        spacing={2.5}\n        sx={{ p: 0, m: 0, listStyle: 'none' }}\n      >\n        {transactions.map((transaction) => (\n          <Box\n            key={transaction.id}\n            component=\"li\"\n            sx={{\n              display: 'flex',\n              alignItems: 'center',\n              gap: 1.5,\n            }}\n          >\n            <Avatar\n              src={transaction.avatar}\n              alt={transaction.name}\n              sx={{\n                width: 40,\n                height: 40,\n              }}\n            />\n\n            <Box sx={{ flex: 1 }}>\n              <Typography\n                variant=\"body1\"\n                sx={{\n                  fontWeight: 500,\n                  lineHeight: 1.3,\n                }}\n              >\n                {transaction.name}\n              </Typography>\n              <Typography\n                variant=\"body2\"\n                sx={{\n                  color: 'text.secondary',\n                  lineHeight: 1.3,\n                }}\n              >\n                {transaction.company}\n              </Typography>\n            </Box>\n\n            <Box sx={{ textAlign: 'right' }}>\n              <Typography\n                variant=\"body1\"\n                sx={{\n                  fontWeight: 500,\n                  lineHeight: 1.3,\n                }}\n              >\n                {transaction.amount}\n              </Typography>\n              <Typography\n                variant=\"body2\"\n                sx={{\n                  color: 'text.secondary',\n                  lineHeight: 1.3,\n                }}\n              >\n                {transaction.date}\n              </Typography>\n            </Box>\n          </Box>\n        ))}\n      </Stack>\n    </Card>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "blocks/transaction-history-list/index.ts",
      "target": "src/mui-treasury/blocks/transaction-history-list/index.ts",
      "content": "export * from './transaction-history-list';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "screenshot": "/og/transaction-history-list.png",
    "category": "block",
    "exportName": "TransactionHistoryList",
    "subcategory": "dashboard"
  }
}