text: import React from 'react';
  import { css } from '@patternfly/react-styles';
  import styles from '@patternfly/patternfly/components/Table/table.css'
  import ActionsColumn from '../../ActionsColumn';
  
  export default actions => (
    label,
    {
      rowIndex,
      column: {
        extraParams: { dropdownPosition, dropdownDirection }
      }
    }
  ) => ({
    className: css(styles.tableAction),
    isVisible: true,
    children: (
      <ActionsColumn
        items={actions}
        dropdownPosition={dropdownPosition}
        dropdownDirection={dropdownDirection}
        rowId={rowIndex}
      >
        {label}
      </ActionsColumn>
    )
  });
  