UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

12 lines 897 B
import React from "react"; import CancelIcon from "@mui/icons-material/Cancel"; import CheckCircleIcon from "@mui/icons-material/CheckCircle"; import { TableCell } from "../../../components/Table/TableCell"; import { NavigatingTableRow } from "../../../components/Table/TableRow"; export const ArticleRow = ({ article }) => (React.createElement(NavigatingTableRow, { route: "catalog.article:detail", routeParams: { id: article.id } }, React.createElement(TableCell, null, article.name), React.createElement(TableCell, null, article.variant), React.createElement(TableCell, null, article.item_type), React.createElement(TableCell, null, article.code), React.createElement(TableCell, { align: "right" }, article.is_active ? React.createElement(CheckCircleIcon, { color: "success" }) : React.createElement(CancelIcon, { color: "error" })))); //# sourceMappingURL=ArticleRow.js.map