Sha256: 29437481e1bced034cee5c1d0bf712a6b85aa534dd1eef23a905419cee4ce602
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
import React from 'react'; import { cellFormatter } from 'foremanReact/components/common/table'; import { ActionButton } from '../ActionButtons/ActionButton'; const actionCellFormatter = webhookActions => ( _, { rowData: { id, name, canEdit, canDelete } } ) => cellFormatter( canEdit && ( <ActionButton canDelete={canDelete} id={id} name={name} webhookActions={webhookActions} /> ) ); export default actionCellFormatter;
Version data entries
5 entries across 5 versions & 1 rubygems