Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
14 lines
643 B
Plaintext
14 lines
643 B
Plaintext
import type { Locale, SanitizedLocalizationConfig } from 'payload';
|
|
export declare const fieldBaseClass = "field-type";
|
|
/**
|
|
* Determines whether a field should be displayed as right-to-left (RTL) based on its configuration, payload's localization configuration and the adming user's currently enabled locale.
|
|
|
|
* @returns Whether the field should be displayed as RTL.
|
|
*/
|
|
export declare function isFieldRTL({ fieldLocalized, fieldRTL, locale, localizationConfig, }: {
|
|
fieldLocalized: boolean;
|
|
fieldRTL: boolean;
|
|
locale: Locale;
|
|
localizationConfig?: SanitizedLocalizationConfig;
|
|
}): boolean;
|
|
//# sourceMappingURL=index.d.ts.map |