Sha256: c41abc43d264529eeb2508863c85549eef058431ba823d38d50a566dc4c4b28b
Contents?: true
Size: 480 Bytes
Versions: 62
Compression:
Stored size: 480 Bytes
Contents
import React from 'react'; import { cellFormatter } from 'foremanReact/components/common/table'; import { ActionButton } from '../../common/ActionButtons/ActionButton'; export const actionCellFormatter = taskActions => ( value, { rowData: { action, id, canEdit } } ) => cellFormatter( canEdit && ( <ActionButton canEdit={canEdit} id={id} name={action} taskActions={taskActions} availableActions={value} /> ) );
Version data entries
62 entries across 62 versions & 1 rubygems