UNPKG

@mantine/carousel

Version:
13 lines (10 loc) 387 B
'use client'; 'use strict'; 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; //# sourceMappingURL=get-chevron-rotation.cjs.map