"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
function getChevronRotation({ dir, orientation, direction }) {
  if (direction === "previous") {
    return orientation === "horizontal" ? 90 * (dir === "ltr" ? 1 : -1) : -180;
  }
  return orientation === "horizontal" ? 90 * (dir === "ltr" ? -1 : 1) : 0;
}
exports.getChevronRotation = getChevronRotation;
