"use strict";

exports.__esModule = true;
exports.useActionCellColumnBase = useActionCellColumnBase;
var _react = require("react");
function useActionCellColumnBase(params) {
  const {
    actionCellProps,
    actionCellWidth
  } = params;
  return (0, _react.useMemo)(() => {
    return {
      title: '',
      id: 'cairo-action-cell',
      key: 'cairo-action-cell',
      width: actionCellWidth ?? '48px',
      style: {
        justifyContent: 'flex-end'
      },
      ...actionCellProps
    };
  }, [actionCellProps, actionCellWidth]);
}
//# sourceMappingURL=useActionCellColumnBase.js.map