/** * @flow * @file Function to render the action table cell */ import React from 'react'; import ItemAction from './ItemAction'; import type { UploadItem } from '../../common/types/upload'; type Props = { rowData: UploadItem, }; export default (isResumableUploadsEnabled: boolean, onClick: Function) => ({ rowData }: Props) => ( onClick(rowData)} /> );