import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

var genPaginationStyle = function genPaginationStyle(token) {
  var _$concat;

  var componentCls = token.componentCls,
      antCls = token.antCls;
  return _defineProperty({}, "".concat(componentCls, "-wrapper"), (_$concat = {}, _defineProperty(_$concat, "".concat(componentCls, "-pagination").concat(antCls, "-pagination"), {
    margin: "".concat(token.margin, "px 0")
  }), _defineProperty(_$concat, "".concat(componentCls, "-pagination"), {
    display: 'flex',
    flexWrap: 'wrap',
    rowGap: token.paddingXS,
    '> *': {
      flex: 'none'
    },
    '&-left': {
      justifyContent: 'flex-start'
    },
    '&-center': {
      justifyContent: 'center'
    },
    '&-right': {
      justifyContent: 'flex-end'
    }
  }), _$concat));
};

export default genPaginationStyle;