1 | var __rest = (this && this.__rest) || function (s, e) {
|
2 | var t = {};
|
3 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4 | t[p] = s[p];
|
5 | if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6 | for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7 | if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8 | t[p[i]] = s[p[i]];
|
9 | }
|
10 | return t;
|
11 | };
|
12 | import { Platform, Dimensions } from 'react-native';
|
13 | import color from 'color';
|
14 | import renderNode from './renderNode';
|
15 | import getIconType from './getIconType';
|
16 | import normalizeText from './normalizeText';
|
17 | const Screen = Dimensions.get('window');
|
18 | const ScreenWidth = Screen.width;
|
19 | const ScreenHeight = Screen.height;
|
20 | const isIOS = Platform.OS === 'ios';
|
21 | export const patchWebProps = (_a) => {
|
22 | var { updateTheme, replaceTheme, onClear } = _a, rest = __rest(_a, ["updateTheme", "replaceTheme", "onClear"]);
|
23 | return rest;
|
24 | };
|
25 | export { renderNode, getIconType, normalizeText, ScreenWidth, ScreenHeight, isIOS, color, };
|