UNPKG

690 BTypeScriptView Raw
1/// <reference types="react" />
2import color from 'color';
3import renderNode from './renderNode';
4import getIconType from './getIconType';
5import normalizeText from './normalizeText';
6import { ThemeProps } from '../config';
7declare const ScreenWidth: number;
8declare const ScreenHeight: number;
9declare const isIOS: boolean;
10export declare type RneFunctionComponent<T> = React.FunctionComponent<T & Partial<ThemeProps<T>>>;
11export declare const patchWebProps: <T extends Record<any, any>>({ updateTheme, replaceTheme, onClear, ...rest }: T) => Omit<T, "updateTheme" | "replaceTheme" | "onClear">;
12export { renderNode, getIconType, normalizeText, ScreenWidth, ScreenHeight, isIOS, color, };