Sha256: a77b1ab17294b01049f33c8e509f0f22ca62df846a74ec0c75f643bfc13eb094
Contents?: true
Size: 395 Bytes
Versions: 5
Compression:
Stored size: 395 Bytes
Contents
import React from 'react'; import RelativeDateTime from 'foremanReact/components/common/dates/RelativeDateTime'; import ReportToShowCell from '../ReportToShowCell'; const reportToShowFormatter = () => (value, { rowData: { canEdit, id } }) => ( <ReportToShowCell active={canEdit} id={id}> <RelativeDateTime date={value} /> </ReportToShowCell> ); export default reportToShowFormatter;
Version data entries
5 entries across 5 versions & 1 rubygems