{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "table-mui-treasury",
  "type": "registry:item",
  "title": "Table (MUI Treasury)",
  "description": "Table styled with the MUI Treasury theme — install the theme alongside.",
  "dependencies": [
    "@mui/material",
    "@emotion/react",
    "@emotion/styled"
  ],
  "registryDependencies": [
    "https://www.mui-treasury.com/r/mui-treasury.json"
  ],
  "files": [
    {
      "path": "components/table-mui-treasury/table-mui-treasury.tsx",
      "target": "src/mui-treasury/components/table-mui-treasury/table-mui-treasury.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport {\n  Box,\n  Paper,\n  Table,\n  TableBody,\n  TableCell,\n  TableContainer,\n  TableHead,\n  TableRow,\n} from '@mui/material';\n\ninterface Row {\n  dessert: string;\n  calories: number;\n  fat: number;\n  carbs: number;\n  protein: number;\n}\n\nconst rows: Row[] = [\n  {\n    dessert: 'Frozen yoghurt',\n    calories: 159,\n    fat: 6.0,\n    carbs: 24,\n    protein: 4.0,\n  },\n  {\n    dessert: 'Ice cream sandwich',\n    calories: 237,\n    fat: 9.0,\n    carbs: 37,\n    protein: 4.3,\n  },\n  { dessert: 'Eclair', calories: 262, fat: 16.0, carbs: 24, protein: 6.0 },\n  { dessert: 'Cupcake', calories: 305, fat: 3.7, carbs: 67, protein: 4.3 },\n  { dessert: 'Gingerbread', calories: 356, fat: 16.0, carbs: 49, protein: 3.9 },\n];\n\nexport function TableMuiTreasury() {\n  return (\n    <Box sx={{ width: '100%' }}>\n      <TableContainer component={Paper} variant=\"outlined\">\n        <Table>\n          <TableHead>\n            <TableRow>\n              <TableCell>Dessert (100g serving)</TableCell>\n              <TableCell align=\"right\">Calories</TableCell>\n              <TableCell align=\"right\">Fat&nbsp;(g)</TableCell>\n              <TableCell align=\"right\">Carbs&nbsp;(g)</TableCell>\n              <TableCell align=\"right\">Protein&nbsp;(g)</TableCell>\n            </TableRow>\n          </TableHead>\n          <TableBody>\n            {rows.map((row) => (\n              <TableRow key={row.dessert}>\n                <TableCell component=\"th\" scope=\"row\">\n                  {row.dessert}\n                </TableCell>\n                <TableCell align=\"right\">{row.calories}</TableCell>\n                <TableCell align=\"right\">{row.fat}</TableCell>\n                <TableCell align=\"right\">{row.carbs}</TableCell>\n                <TableCell align=\"right\">{row.protein}</TableCell>\n              </TableRow>\n            ))}\n          </TableBody>\n        </Table>\n      </TableContainer>\n    </Box>\n  );\n}\n",
      "type": "registry:item"
    },
    {
      "path": "components/table-mui-treasury/index.ts",
      "target": "src/mui-treasury/components/table-mui-treasury/index.ts",
      "content": "export * from './table-mui-treasury';\n",
      "type": "registry:item"
    }
  ],
  "meta": {
    "category": "primitive",
    "subcategory": "table",
    "exportName": "TableMuiTreasury"
  }
}