We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5920043 commit fc3d53aCopy full SHA for fc3d53a
src/utils/uiUtil.ts
@@ -0,0 +1,7 @@
1
+// ====================== Mode ======================
2
+export function getRealPlacement(placement: string, rtl: boolean) {
3
+ if (placement !== undefined) {
4
+ return placement;
5
+ }
6
+ return rtl ? 'bottomRight' : 'bottomLeft';
7
+}
0 commit comments