UNPKG

1.09 kBTypeScriptView Raw
1import type { LoggerConfig } from './logger';
2export declare function configureProps(): void;
3export declare function addWhitelistedNativeProps(props: Record<string, boolean>): void;
4export declare function addWhitelistedUIProps(props: Record<string, boolean>): void;
5/**
6 * Updates Reanimated logger config with the user-provided configuration. Will
7 * affect Reanimated code executed after call to this function so it should be
8 * called before any Reanimated code is executed to take effect. Each call to
9 * this function will override the previous configuration (it's recommended to
10 * call it only once).
11 *
12 * @param config - The new logger configuration to apply.
13 */
14export declare function configureReanimatedLogger(config: LoggerConfig): void;
15export interface ViewConfig {
16 uiViewClassName: string;
17 validAttributes: Record<string, unknown>;
18}
19/**
20 * Updates UI props whitelist for given view host instance this will work just
21 * once for every view name
22 */
23export declare function adaptViewConfig(viewConfig: ViewConfig): void;
24//# sourceMappingURL=ConfigHelper.d.ts.map
\No newline at end of file