Sha256: aa23d774333b8d870cdd2a8f7a0dc5ec145282d420034ba15900ba91983c1b63
Contents?: true
Size: 823 Bytes
Versions: 21
Compression:
Stored size: 823 Bytes
Contents
import React from 'react'; import { headerFormatter, cellFormatter, } from '../../../../move_to_foreman/components/common/table'; import helpers from '../../../../move_to_foreman/common/helpers'; const TableSchema = [ { property: 'name', header: { label: __('Name'), formatters: [headerFormatter], }, cell: { formatters: [ (value, { rowData }) => ( <td> <a href={helpers.urlBuilder(`products/${rowData.product_id}/repositories`, '', rowData.id)}> {rowData.name} </a> </td> ), ], }, }, { property: 'product_name', header: { label: __('Product'), formatters: [headerFormatter], }, cell: { formatters: [cellFormatter], }, }, ]; export default TableSchema;
Version data entries
21 entries across 21 versions & 1 rubygems