"use strict";

exports.__esModule = true;
exports["default"] = void 0;
var getDirection = function getDirection(column, columnReverse, rowReverse) {
  if (column) {
    return "column";
  }
  if (columnReverse) {
    return "column-reverse";
  }
  if (rowReverse) {
    return "row-reverse";
  }
  return "row";
};
var _default = exports["default"] = function _default(_ref) {
  var column = _ref.column,
    columnReverse = _ref.columnReverse,
    rowReverse = _ref.rowReverse;
  var direction = getDirection(column, columnReverse, rowReverse);
  return "flex-direction: " + direction + ";";
};