UNPKG

@mantine/carousel

Version:
11 lines (9 loc) 354 B
'use client'; 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; } export { getChevronRotation }; //# sourceMappingURL=get-chevron-rotation.mjs.map