neue Homepage auf react basis

This commit is contained in:
2026-08-07 21:39:30 +02:00
parent 164bdd19ad
commit ee89442c04
52191 changed files with 1230242 additions and 58 deletions
+22
View File
@@ -0,0 +1,22 @@
import { PinnedColumnPosition } from "../internals/constants.mjs";
export const rtlFlipSide = (position, isRtl) => {
if (!position) {
return undefined;
}
if (!isRtl) {
if (position === PinnedColumnPosition.LEFT) {
return 'left';
}
if (position === PinnedColumnPosition.RIGHT) {
return 'right';
}
} else {
if (position === PinnedColumnPosition.LEFT) {
return 'right';
}
if (position === PinnedColumnPosition.RIGHT) {
return 'left';
}
}
return undefined;
};