Sha256: 583c8a6b614ff941e645399888c276c76a4b6e35a0903c612e5d09985b9df0be
Contents?: true
Size: 1.17 KB
Versions: 49
Compression:
Stored size: 1.17 KB
Contents
import React from 'react'; import { Link } from 'react-router-dom'; import { translate as __ } from 'foremanReact/common/I18n'; import { urlBuilder } from 'foremanReact/common/urlHelpers'; import { headerFormatter, cellFormatter, } from '../../components/pf3Table/formatters'; const TableSchema = [ { property: 'name', header: { label: __('Name'), formatters: [headerFormatter], }, cell: { formatters: [ (value, { rowData }) => ( <td> <Link to={urlBuilder('ansible_collections', '', rowData.id)}>{rowData.name}</Link> </td> ), ], }, }, { property: 'namespace', header: { label: __('Author'), formatters: [headerFormatter], }, cell: { formatters: [cellFormatter], }, }, { property: 'version', header: { label: __('Version'), formatters: [headerFormatter], }, cell: { formatters: [cellFormatter], }, }, { property: 'checksum', header: { label: __('Checksum'), formatters: [headerFormatter], }, cell: { formatters: [cellFormatter], }, }, ]; export default TableSchema;
Version data entries
49 entries across 49 versions & 1 rubygems