UNPKG

@immobiliarelabs/backstage-plugin-gitlab

Version:
17 lines (14 loc) 689 B
import React from 'react'; import { Typography, Box } from '@material-ui/core'; import { getStatusIconType } from './Icons.esm.js'; import Link from '@material-ui/core/Link'; function createTitleColumn(t) { return { title: t("mergeRequestsTable.columnsTitle.title"), field: "title", highlight: true, render: (row) => /* @__PURE__ */ React.createElement(Typography, { variant: "body2", noWrap: true }, getStatusIconType(row), /* @__PURE__ */ React.createElement(Box, { ml: 1, component: "span" }, /* @__PURE__ */ React.createElement(Link, { href: row.web_url, target: "_blank" }, row.title))) }; } export { createTitleColumn }; //# sourceMappingURL=columns.esm.js.map