first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/**
* Gets the rtl state of the page (returns true if in rtl.)
*/
export declare function getRTL(theme?: {
rtl?: boolean;
}): boolean;
/**
* Sets the rtl state of the page (by adjusting the dir attribute of the html element.)
*/
export declare function setRTL(isRTL: boolean, persistSetting?: boolean): void;
/**
* Returns the given key, but flips right/left arrows if necessary.
*/
export declare function getRTLSafeKeyCode(key: number, theme?: {
rtl?: boolean;
}): number;