import React from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
const ProCardActions = props => {
  const {
    actions,
    prefixCls
  } = props;
  return actions && actions.length ? /*#__PURE__*/_jsx("ul", {
    className: `${prefixCls}-actions`,
    children: actions.map((action, index) =>
    /*#__PURE__*/
    // eslint-disable-next-line react/no-array-index-key
    _jsx("li", {
      style: {
        width: `${100 / actions.length}%`
      },
      children: /*#__PURE__*/_jsx("span", {
        children: action
      })
    }, `action-${index}`))
  }) : null;
};
export default ProCardActions;