diff --git a/.eslintignore b/.eslintignore
index edbbafa1ea..29a1133e40 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,3 +1 @@
-/src/style/typography.js
-**/*.ts
-**/*.tsx
+/src/style/typography.js
\ No newline at end of file
diff --git a/.eslintrc.js b/.eslintrc.js
index 252aa3ce14..4d7d143455 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,7 +1,12 @@
module.exports = {
extends: ['plugin:@typescript-eslint/recommended', 'wix/react-native', 'plugin:react-hooks/recommended'],
parser: '@typescript-eslint/parser',
+ // plugins: ['@typescript-eslint'],
rules: {
+ /* Disabled rules for typescript */
+ 'no-dupe-class-members': 'off',
+ /* Other Rules */
+ 'no-unused-expressions': 'off',
'arrow-parens': 'off',
// TODO: remove after migration of legacy lifecycle methods
camelcase: 'off',
@@ -9,98 +14,31 @@ module.exports = {
'no-mixed-operators': ['off'],
'no-trailing-spaces': 'off',
'operator-linebreak': 'off',
- 'max-len': ['warn', {code: 120}],
+ 'max-len': ['warn', {code: 120, ignoreComments: true, ignoreStrings: true}],
'react/jsx-no-bind': [
- 'warn',
+ 'off',
{
ignoreRefs: true,
allowArrowFunctions: false,
- allowBind: false,
- },
+ allowBind: false
+ }
],
'function-paren-newline': ['warn', 'never'],
'new-cap': ['off'], // TODO: fix this in colors.js and remove this
'default-case': ['off'],
- "@typescript-eslint/no-use-before-define": 0,
- "@typescript-eslint/explicit-function-return-type": 0,
- "@typescript-eslint/no-var-requires": 0,
- "@typescript-eslint/no-explicit-any": 0,
- "@typescript-eslint/member-delimiter-style": 0,
- // "@typescript-eslint/no-unused-vars": [2, {"args": "all", "argsIgnorePattern": "^_"}],
- "@typescript-eslint/no-unused-vars": 0, //todo: uncomment this line and use the the better unused rule above ^
- "@typescript-eslint/no-non-null-assertion": 0,
- "@typescript-eslint/explicit-member-accessibility": 0,
- "@typescript-eslint/prefer-optional-chain": "error",
- "@typescript-eslint/ban-ts-ignore": 0,
- "@typescript-eslint/no-empty-function": 0,
- "@typescript-eslint/camelcase": 0,
- "@typescript-eslint/indent": 0
- },
- plugins: ['@typescript-eslint'],
+ '@typescript-eslint/no-use-before-define': 0,
+ '@typescript-eslint/explicit-function-return-type': 0,
+ '@typescript-eslint/no-var-requires': 0,
+ '@typescript-eslint/no-explicit-any': 0,
+ '@typescript-eslint/member-delimiter-style': 0,
+ '@typescript-eslint/no-unused-vars': [2, {args: 'all', argsIgnorePattern: '^_'}],
+ // "@typescript-eslint/no-unused-vars": 0, //todo: uncomment this line and use the the better unused rule above ^
+ '@typescript-eslint/no-non-null-assertion': 0,
+ '@typescript-eslint/explicit-member-accessibility': 0,
+ '@typescript-eslint/prefer-optional-chain': 'error',
+ '@typescript-eslint/ban-ts-ignore': 0,
+ '@typescript-eslint/no-empty-function': 0,
+ '@typescript-eslint/camelcase': 0,
+ '@typescript-eslint/indent': 0
+ }
};
-
-// OLD ESlint configuration
-// const validColors = require('./src/style/colorsPalette').colorsPalette;
-// const extraFixColorsMap = require('./src/style/colorsPalette').extraFixColorsMap;
-// const assetsDepJson = require('./eslint-rules/tests/assets_deprecation.json');
-// const deprecationsJson = require('./eslint-rules/tests/component_deprecation.json');
-
-// module.exports = {
-// parser: 'babel-eslint',
-// extends: 'wix/react-native',
-// // plugins: ['react', 'react-native', 'uilib'],
-// // extends: ['airbnb'],
-// rules: {
-// 'arrow-body-style': 'off',
-// 'arrow-parens': 'off',
-// // TODO: remove after migration of legacy lifecycle methods
-// 'camelcase': 'off',
-// 'class-methods-use-this': 'off',
-// 'consistent-return': 'off',
-// 'comma-dangle': 'off',
-// 'global-require': 'off',
-// 'max-len': [2, 130, 4, {ignoreUrls: true}],
-// 'no-nested-ternary': 'off',
-// 'no-else-return': 'off',
-// 'no-mixed-operators': ['off'],
-// 'no-param-reassign': ['warn'],
-// 'no-plusplus': 'off',
-// 'no-return-assign': 'off',
-// 'no-trailing-spaces': 'off',
-// 'no-use-before-define': 'off',
-// 'no-unneeded-ternary': 'off',
-// 'no-mixed-operators': 'off',
-// 'no-underscore-dangle': ['error', {'allowAfterThis': true}],
-// 'object-curly-spacing': 'off',
-// 'operator-linebreak': 'off',
-// 'react/forbid-prop-types': 'off',
-// 'react/jsx-filename-extension': 'off',
-// 'react/jsx-space-before-closing': 'off',
-// 'react/jsx-tag-spacing': 'off',
-// 'react/prefer-stateless-function': 'off',
-// 'react/prop-types': ['error', {ignore: ['children', 'style', 'testID']}],
-// 'react/require-default-props': 'off',
-// "react/sort-comp": ['warn'],
-// 'react/jsx-no-bind': [
-// 'warn',
-// {
-// ignoreRefs: true,
-// allowArrowFunctions: false,
-// allowBind: false,
-// },
-// ],
-// 'import/prefer-default-export': 'off'
-// },
-// env: {
-// browser: true,
-// node: true,
-// jest: true,
-// },
-// settings: {
-// 'import/resolver': {
-// node: {
-// extensions: ['.js', '.ios.js', '.android.js'],
-// },
-// },
-// },
-// };
diff --git a/android/app/src/main/ic_launcher-playstore.png b/android/app/src/main/ic_launcher-playstore.png
new file mode 100644
index 0000000000..1bf75b2cf3
Binary files /dev/null and b/android/app/src/main/ic_launcher-playstore.png differ
diff --git a/android/app/src/main/res/drawable/ic_launcher_background.xml b/android/app/src/main/res/drawable/ic_launcher_background.xml
index 2408e30d17..ca3826a46c 100644
--- a/android/app/src/main/res/drawable/ic_launcher_background.xml
+++ b/android/app/src/main/res/drawable/ic_launcher_background.xml
@@ -5,7 +5,7 @@
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
-
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index 95e940aa34..ef2adddcae 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
index 69a1f5ecfe..0dfe76be09 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
index 0785738e2e..1f63abc41a 100644
Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index a8033f6f8e..e73a68fb50 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
index acc26a34fe..1a6ea551af 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
index 633aa4c710..a7dbafab03 100644
Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index cb9947b568..578642d390 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
index b7da35431e..5b7a00ee50 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
index a31ce8bbdb..8aa2baaccc 100644
Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 8416bfbc98..29f589dde2 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
index 3f92ebe445..866d44ad44 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
index 9678a85730..b442fb5870 100644
Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 209c04a651..1e8e558e11 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
index 51069134e4..571d815d86 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
index 17c925af05..72fb0f05a5 100644
Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/demo/src/assets/icons/bell.png b/demo/src/assets/icons/bell.png
new file mode 100644
index 0000000000..4936f84574
Binary files /dev/null and b/demo/src/assets/icons/bell.png differ
diff --git a/demo/src/assets/icons/bell@2x.png b/demo/src/assets/icons/bell@2x.png
new file mode 100644
index 0000000000..5c2f33b0d9
Binary files /dev/null and b/demo/src/assets/icons/bell@2x.png differ
diff --git a/demo/src/assets/icons/bell@3x.png b/demo/src/assets/icons/bell@3x.png
new file mode 100644
index 0000000000..44a2212a6c
Binary files /dev/null and b/demo/src/assets/icons/bell@3x.png differ
diff --git a/demo/src/screens/componentScreens/BadgesScreen.tsx b/demo/src/screens/componentScreens/BadgesScreen.tsx
index ec9bd525d6..3d78352d86 100644
--- a/demo/src/screens/componentScreens/BadgesScreen.tsx
+++ b/demo/src/screens/componentScreens/BadgesScreen.tsx
@@ -5,8 +5,7 @@ const BadgesSpace = 30;
const plusIcon = require('../../assets/icons/chevronUp.png');
const minusIcon = require('../../assets/icons/chevronDown.png');
const star = require('../../assets/icons/star.png');
-const search = require('../../assets/icons/search.png');
-
+const bell = require('../../assets/icons/bell.png');
export default class BadgesScreen extends Component {
constructor(props) {
@@ -137,6 +136,15 @@ export default class BadgesScreen extends Component {
+
+
+ Counter Icon Badges
+
+
+
+
+
+
);
}
diff --git a/demo/src/screens/componentScreens/CardsScreen.tsx b/demo/src/screens/componentScreens/CardsScreen.tsx
index b72342f8b7..7be94f87cb 100644
--- a/demo/src/screens/componentScreens/CardsScreen.tsx
+++ b/demo/src/screens/componentScreens/CardsScreen.tsx
@@ -1,16 +1,7 @@
import _ from 'lodash';
import React, {Component} from 'react';
import {StyleSheet, ScrollView} from 'react-native';
-import {
- Constants,
- Colors,
- View,
- Card,
- CardProps,
- Button,
- Text,
- Image
-} from 'react-native-ui-lib';
+import {Constants, Colors, View, Card, CardProps, Button, Text, Image} from 'react-native-ui-lib';
// @ts-ignore
import posts from '../../data/posts';
@@ -26,10 +17,7 @@ type CardsScreenState = {
selected2: boolean;
};
-export default class CardsScreen extends Component<
- CardsScreenProps,
- CardsScreenState
-> {
+export default class CardsScreen extends Component {
state = {
selected1: true,
selected2: true
@@ -47,7 +35,7 @@ export default class CardsScreen extends Component<
activeOpacity={1}
marginR-20
>
-
+
-
+
);
@@ -73,8 +61,7 @@ export default class CardsScreen extends Component<
content={[
{text: 'You’re Invited!', text70: true, dark10: true},
{
- text:
- '222 Join Old The Town Barbershop Official Store. Download the Wix app to...',
+ text: '222 Join Old The Town Barbershop Official Store. Download the Wix app to...',
text80: true,
dark10: true
},
@@ -92,8 +79,7 @@ export default class CardsScreen extends Component<
You’re Invited!
- 222 Join Old The Town Barbershop Official Store. Download the Wix app
- to...
+ 222 Join Old The Town Barbershop Official Store. Download the Wix app to...
wix.to/A465c
@@ -102,11 +88,7 @@ export default class CardsScreen extends Component<
);
};
- renderHorizontalCard = (
- isImageOnLeft: boolean,
- borderRadius: number,
- useSection: boolean
- ) => {
+ renderHorizontalCard = (isImageOnLeft: boolean, borderRadius: number, useSection: boolean) => {
return (
- {isImageOnLeft && (
-
- )}
+ {isImageOnLeft && }
{useSection ? this.renderTextSection() : this.renderText()}
- {!isImageOnLeft && (
-
- )}
+ {!isImageOnLeft && }
);
};
@@ -147,22 +119,14 @@ export default class CardsScreen extends Component<
]}
style={{padding: 20}}
/>
-
+
);
};
renderCoupon = (cardProps: CardProps) => {
return (
- {}}
- useNative
- activeOpacity={1}
- activeScale={0.96}
- >
+ {}} useNative activeOpacity={1} activeScale={0.96}>
{
return (
- {}}
- useNative
- activeOpacity={1}
- activeScale={0.96}
- >
+ {}} useNative activeOpacity={1} activeScale={0.96}>
{image}
{
// Icon
- this.renderComplexImage(
- {'marginR-5': true},
+ this.renderComplexImage({'marginR-5': true},
- )
+ />)
}
{
// Image with overlay content
- this.renderComplexImage(
- {'marginL-5': true},
+ this.renderComplexImage({'marginL-5': true},
- )
+ />)
}
);
@@ -262,12 +214,8 @@ export default class CardsScreen extends Component<
renderNumbers = () => {
return (
-
- {_.times(4, (i) => {
+
+ {_.times(4, i => {
return (
@@ -293,24 +241,19 @@ export default class CardsScreen extends Component<
renderBackgroundTypes = () => {
return (
- {this.renderBackgroundCard(
- {'marginR-20': true, style: {backgroundColor: Colors.dark60}},
+ {this.renderBackgroundCard({'marginR-20': true, style: {backgroundColor: Colors.dark60}},
With custom background color
-
- )}
- {this.renderBackgroundCard(
- {
- 'marginR-20': true,
- style: {backgroundColor: Colors.rgba(Colors.dark60, 0.75)}
- },
-
+ )}
+ {this.renderBackgroundCard({
+ 'marginR-20': true,
+ style: {backgroundColor: Colors.rgba(Colors.dark60, 0.75)}
+ },
+
With opacity
-
- )}
+ )}
{Constants.isIOS &&
- this.renderBackgroundCard(
- {enableBlur: true, 'marginL-20': true},
+ this.renderBackgroundCard({enableBlur: true, 'marginL-20': true},
<>
With Blur effect
@@ -318,27 +261,18 @@ export default class CardsScreen extends Component<
(iOS only)
- >
- )}
+ >)}
);
};
renderComplexExample = () => {
return _.map(posts, (post, i) => {
- const statusColor =
- post.status === 'Published' ? Colors.green30 : Colors.orange30;
+ const statusColor = post.status === 'Published' ? Colors.green30 : Colors.orange30;
return (
- console.log('press on a card')}
- >
-
+ console.log('press on a card')}>
+
@@ -360,14 +294,8 @@ export default class CardsScreen extends Component<
{post.likes} Likes
-
-
+
+
@@ -380,6 +308,7 @@ export default class CardsScreen extends Component<
return (
<>
{this.renderNumbers()}
+ {this.renderImageOnBottom()}
{this.renderBackgroundTypes()}
{this.renderComplexExample()}
>
@@ -388,25 +317,27 @@ export default class CardsScreen extends Component<
render() {
return (
-
-
-
+
+ Cards
+ Selectable Cards
{this.renderSelectableCards()}
+
+ Horizontal Cards
+
{this.renderHorizontalCard(true, 0, true)}
{this.renderHorizontalCard(true, 20, false)}
{this.renderHorizontalCard(false, 0, false)}
{this.renderHorizontalCard(false, 20, true)}
- {this.renderImageOnBottom()}
+
+ Card Sections
+
{this.renderCoupons()}
{this.renderComplexImages()}
+
+ Others
+
{this.renderCustomContent()}
diff --git a/demo/src/screens/componentScreens/FaderScreen.tsx b/demo/src/screens/componentScreens/FaderScreen.tsx
index 5aceb54de4..7a21b08d45 100644
--- a/demo/src/screens/componentScreens/FaderScreen.tsx
+++ b/demo/src/screens/componentScreens/FaderScreen.tsx
@@ -1,14 +1,7 @@
import _ from 'lodash';
import React, {Component} from 'react';
import {StyleSheet, ScrollView} from 'react-native';
-import {
- Colors,
- Text,
- View,
- Fader,
- withScrollReached,
- WithScrollReachedProps
-} from 'react-native-ui-lib';
+import {Colors, Text, View, Fader, withScrollReached, WithScrollReachedProps} from 'react-native-ui-lib';
import {renderHeader} from '../ExampleScreenPresenter';
const numberOfItems = 3;
@@ -17,9 +10,7 @@ const itemWidth = 100;
const itemHeight = 100;
const tintColor = undefined;
-const horizontal =
- faderPosition === Fader.position.LEFT ||
- faderPosition === Fader.position.RIGHT;
+const horizontal = faderPosition === Fader.position.START || faderPosition === Fader.position.END;
class FaderScreen extends Component {
renderItem = (index: number) => {
@@ -33,8 +24,7 @@ class FaderScreen extends Component {
render() {
const {scrollReachedProps} = this.props;
const visible =
- faderPosition === Fader.position.BOTTOM ||
- faderPosition === Fader.position.RIGHT
+ faderPosition === Fader.position.BOTTOM || faderPosition === Fader.position.END
? !scrollReachedProps.isScrollAtEnd
: !scrollReachedProps.isScrollAtStart;
@@ -53,11 +43,7 @@ class FaderScreen extends Component {
>
{_.times(numberOfItems, this.renderItem)}
-
+
diff --git a/demo/src/screens/componentScreens/ScrollBarScreen.js b/demo/src/screens/componentScreens/ScrollBarScreen.tsx
similarity index 99%
rename from demo/src/screens/componentScreens/ScrollBarScreen.js
rename to demo/src/screens/componentScreens/ScrollBarScreen.tsx
index 1b8b1ba8ce..5dab9302d1 100644
--- a/demo/src/screens/componentScreens/ScrollBarScreen.js
+++ b/demo/src/screens/componentScreens/ScrollBarScreen.tsx
@@ -1,5 +1,7 @@
import React, {Component} from 'react';
import {View, Text, ScrollBar, Button} from 'react-native-ui-lib';
+
+
class ScrollBarScreen extends Component {
state = {
selectedIndex: 0
diff --git a/demo/src/screens/componentScreens/TabBarScreen.tsx b/demo/src/screens/componentScreens/TabBarScreen.tsx
index 06c9ed7cc4..eb2c29cf85 100644
--- a/demo/src/screens/componentScreens/TabBarScreen.tsx
+++ b/demo/src/screens/componentScreens/TabBarScreen.tsx
@@ -37,7 +37,7 @@ export default class TabBarScreen extends Component {
do {
index = Math.floor(Math.random() * this.tabbar.props.children.length);
} while (index === this.state.selectedIndex);
-
+
this.setState({selectedIndex: index});
}
};
@@ -82,7 +82,7 @@ export default class TabBarScreen extends Component {
removeTab = () => {
const index = this.state.selectedIndex;
const newTabs = this.state.currentTabs;
-
+
if (newTabs.length >= 0) {
newTabs.splice(index, 1);
}
@@ -92,7 +92,7 @@ export default class TabBarScreen extends Component {
/** Actions */
getTabs(showAddTab: boolean) {
const tabs = _.map(this.state.currentTabs, tab => this.renderTabs(tab));
-
+
if (showAddTab) {
tabs.push(this.renderAddTabsTab());
} else {
@@ -126,15 +126,20 @@ export default class TabBarScreen extends Component {
-
-
-
-
+
+
+
@@ -146,7 +151,7 @@ export default class TabBarScreen extends Component {
(this.tabbar = r)} enableShadow>
-
+
@@ -169,13 +174,20 @@ export default class TabBarScreen extends Component {
{this.getTabs(true)}
-
-
+
+
+
+
@@ -187,7 +199,7 @@ export default class TabBarScreen extends Component {
-
+
diff --git a/demo/src/screens/componentScreens/TabControllerScreen/index.js b/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
similarity index 74%
rename from demo/src/screens/componentScreens/TabControllerScreen/index.js
rename to demo/src/screens/componentScreens/TabControllerScreen/index.tsx
index ae2bde0b2e..3c542a5b97 100644
--- a/demo/src/screens/componentScreens/TabControllerScreen/index.js
+++ b/demo/src/screens/componentScreens/TabControllerScreen/index.tsx
@@ -1,13 +1,6 @@
import React, {Component} from 'react';
import {ActivityIndicator} from 'react-native';
-import {
- Assets,
- TabController,
- Colors,
- View,
- Text,
- Button
-} from 'react-native-ui-lib'; //eslint-disable-line
+import {Assets, TabController, Colors, View, Text, Button, TabControllerItemProps} from 'react-native-ui-lib';
import {gestureHandlerRootHOC} from 'react-native-gesture-handler';
import _ from 'lodash';
@@ -15,36 +8,47 @@ import Tab1 from './tab1';
import Tab2 from './tab2';
import Tab3 from './tab3';
-const TABS = [
- 'Home',
- 'Posts',
- 'Reviews',
- 'Videos',
- 'Photos',
- 'Events',
- 'About',
- 'Community',
- 'Groups',
- 'Offers'
-];
-
-class TabControllerScreen extends Component {
- constructor(props) {
- super(props);
+const TABS = ['Home', 'Posts', 'Reviews', 'Videos', 'Photos', 'Events', 'About', 'Community', 'Groups', 'Offers'];
+
+interface State {
+ asCarousel: boolean;
+ centerSelected: boolean;
+ fewItems: boolean;
+ selectedIndex: number;
+ key: string | number;
+ items: TabControllerItemProps[];
+}
+
+class TabControllerScreen extends Component<{}, State> {
-
+ constructor(props: {}) {
+ super(props);
this.state = {
asCarousel: true,
centerSelected: false,
fewItems: false,
selectedIndex: 0,
- key: Date.now()
+ key: Date.now(),
+ items: []
};
-
- const items = this.generateTabItems();
- this.state.items = items;
+
+ this.state.items = this.generateTabItems();
}
+ generateTabItems = (fewItems = this.state.fewItems, centerSelected = this.state.centerSelected): TabControllerItemProps[] => {
+ let items: TabControllerItemProps[] = _.chain(TABS)
+ .take(fewItems ? 3 : TABS.length)
+ .map(tab => ({label: tab, key: tab}))
+ .value();
+
+ const addItem: TabControllerItemProps = {icon: Assets.icons.demo.add, key: 'add', ignore: true, width: 60, onPress: this.onAddItem};
+
+ if (!centerSelected) {
+ items = [...items, addItem];
+ }
+ return items;
+ };
+
componentDidMount() {
// this.slow();
}
@@ -61,19 +65,7 @@ class TabControllerScreen extends Component {
onAddItem = () => {
console.warn('Add Item');
- }
-
- generateTabItems = (fewItems = this.state.fewItems, centerSelected = this.state.centerSelected) => {
- let items = _.chain(TABS)
- .take(fewItems ? 3 : TABS.length)
- .map((tab) => ({label: tab, key: tab}))
- .value();
-
- if (!centerSelected) {
- items = [...items, {icon: Assets.icons.demo.add, key: 'add', ignore: true, width: 60, onPress: this.onAddItem}];
- }
- return items;
- }
+ };
toggleItemsCount = () => {
const {fewItems} = this.state;
@@ -97,14 +89,14 @@ class TabControllerScreen extends Component {
});
};
- onChangeIndex = (selectedIndex) => {
+ onChangeIndex = (selectedIndex: number) => {
this.setState({selectedIndex});
};
renderLoadingPage() {
return (
-
+
Loading
@@ -119,18 +111,13 @@ class TabControllerScreen extends Component {
return (
-
+
-
+
-
-
+
+
{_.map(_.takeRight(TABS, TABS.length - 3), (title, index) => {
@@ -147,14 +134,7 @@ class TabControllerScreen extends Component {
}
render() {
- const {
- key,
- selectedIndex,
- asCarousel,
- centerSelected,
- fewItems,
- items
- } = this.state;
+ const {key, selectedIndex, asCarousel, centerSelected, fewItems, items} = this.state;
return (
diff --git a/demo/src/screens/componentScreens/TabControllerScreen/tab1.js b/demo/src/screens/componentScreens/TabControllerScreen/tab1.tsx
similarity index 69%
rename from demo/src/screens/componentScreens/TabControllerScreen/tab1.js
rename to demo/src/screens/componentScreens/TabControllerScreen/tab1.tsx
index 46eabdcabc..6bbe9d8879 100644
--- a/demo/src/screens/componentScreens/TabControllerScreen/tab1.js
+++ b/demo/src/screens/componentScreens/TabControllerScreen/tab1.tsx
@@ -1,6 +1,6 @@
import React, {Component} from 'react';
import {StyleSheet} from 'react-native';
-import {Colors, View, Text, Image, Assets, Button} from 'react-native-ui-lib'; //eslint-disable-line
+import {View, Text, Image, Assets, Button} from 'react-native-ui-lib';
class Tab1 extends Component {
state = {};
@@ -19,7 +19,14 @@ class Tab1 extends Component {
Home
-
+
);
diff --git a/demo/src/screens/componentScreens/TabControllerScreen/tab2.js b/demo/src/screens/componentScreens/TabControllerScreen/tab2.tsx
similarity index 87%
rename from demo/src/screens/componentScreens/TabControllerScreen/tab2.js
rename to demo/src/screens/componentScreens/TabControllerScreen/tab2.tsx
index d71126f3bb..09ab3bde14 100644
--- a/demo/src/screens/componentScreens/TabControllerScreen/tab2.js
+++ b/demo/src/screens/componentScreens/TabControllerScreen/tab2.tsx
@@ -1,6 +1,6 @@
import React, {Component} from 'react';
import {StyleSheet} from 'react-native';
-import {Colors, View, Text, Image, Assets, Button} from 'react-native-ui-lib'; //eslint-disable-line
+import {View, Text, Image} from 'react-native-ui-lib';
class Tab2 extends Component {
state = {
diff --git a/demo/src/screens/componentScreens/TabControllerScreen/tab3.js b/demo/src/screens/componentScreens/TabControllerScreen/tab3.tsx
similarity index 84%
rename from demo/src/screens/componentScreens/TabControllerScreen/tab3.js
rename to demo/src/screens/componentScreens/TabControllerScreen/tab3.tsx
index fe42d81ed6..b71b176e8c 100644
--- a/demo/src/screens/componentScreens/TabControllerScreen/tab3.js
+++ b/demo/src/screens/componentScreens/TabControllerScreen/tab3.tsx
@@ -1,11 +1,11 @@
import React, {Component} from 'react';
import {ScrollView} from 'react-native';
import _ from 'lodash';
-import {Card, Avatar, View, Text, Image, Assets, Button} from 'react-native-ui-lib'; //eslint-disable-line
+import {Card, Avatar, View, Text} from 'react-native-ui-lib';
class Tab2 extends Component {
state = {
- loading: true,
+ loading: true
};
componentDidMount() {
@@ -51,10 +51,12 @@ class Tab2 extends Component {
- {index}
+
+ {index}
+
);
})}
diff --git a/expoDemo/.expo/README.md b/expoDemo/.expo/README.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/expoDemo/.expo/packager-info.json b/expoDemo/.expo/packager-info.json
index 02ab9a438d..bc536939a2 100644
--- a/expoDemo/.expo/packager-info.json
+++ b/expoDemo/.expo/packager-info.json
@@ -5,5 +5,6 @@
"packagerPid": null,
"expoServerNgrokUrl": "https://je-jj8.ethanshar.expodemo.exp.direct",
"packagerNgrokUrl": "https://packager.je-jj8.ethanshar.expodemo.exp.direct",
- "ngrokPid": 31738
+ "ngrokPid": 31738,
+ "webpackServerPort": null
}
diff --git a/expoDemo/.expo/settings.json b/expoDemo/.expo/settings.json
new file mode 100644
index 0000000000..c5ac375239
--- /dev/null
+++ b/expoDemo/.expo/settings.json
@@ -0,0 +1,9 @@
+{
+ "scheme": null,
+ "hostType": "lan",
+ "lanType": "ip",
+ "dev": true,
+ "minify": false,
+ "urlRandomness": null,
+ "https": false
+}
diff --git a/expoDemo/app.json b/expoDemo/app.json
index c55798d035..c3cd324bad 100644
--- a/expoDemo/app.json
+++ b/expoDemo/app.json
@@ -6,7 +6,6 @@
"slug": "rnuilib",
"privacy": "public",
"icon": "https://user-images.githubusercontent.com/1780255/76164954-b97b3880-615b-11ea-85b9-209ac7932d89.png",
- "sdkVersion": "36.0.0",
"version": "1.0.0",
"entryPoint": "index.js",
"packagerOpts": {
diff --git a/expoDemo/package.json b/expoDemo/package.json
index 8a0543b9b3..c4dd840069 100644
--- a/expoDemo/package.json
+++ b/expoDemo/package.json
@@ -9,28 +9,28 @@
},
"dependencies": {
"@react-native-community/blur": "^3.4.1",
- "@react-native-community/datetimepicker": "^2.2.2",
- "@react-native-community/masked-view": "^0.1.6",
- "@react-native-community/netinfo": "^4.6.0",
+ "@react-native-community/datetimepicker": "3.0.4",
+ "@react-native-community/masked-view": "0.1.10",
+ "@react-native-community/netinfo": "5.9.7",
"@react-native-community/picker": "^1.7.1",
"@react-navigation/native": "^5.0.8",
"@react-navigation/stack": "^5.1.0",
- "expo": "~36.0.0",
+ "expo": "^40.0.0",
"lodash": "^4.17.15",
- "react": "~16.9.0",
- "react-dom": "~16.9.0",
- "react-native": "~0.61.4",
- "react-native-gesture-handler": "~1.5.0",
- "react-native-reanimated": "~1.4.0",
- "react-native-safe-area-context": "^0.7.3",
- "react-native-screens": "2.0.0-alpha.12",
+ "react": "16.13.1",
+ "react-dom": "16.13.1",
+ "react-native": "0.63.4",
+ "react-native-gesture-handler": "~1.8.0",
+ "react-native-reanimated": "~1.13.0",
+ "react-native-safe-area-context": "3.1.9",
+ "react-native-screens": "~2.15.0",
"react-native-ui-lib": "snapshot",
- "react-native-unimodules": "~0.7.0",
- "react-native-web": "~0.11.7",
+ "react-native-unimodules": "~0.12.0",
+ "react-native-web": "~0.13.12",
"unicorn-demo-app": "snapshot"
},
"devDependencies": {
- "@babel/core": "~7.6.0",
+ "@babel/core": "~7.9.0",
"babel-jest": "~24.9.0",
"jest": "~24.9.0",
"metro-react-native-babel-preset": "~0.56.0",
diff --git a/generatedTypes/components/avatar/index.d.ts b/generatedTypes/components/avatar/index.d.ts
index 771b79f625..ef6b4898a3 100644
--- a/generatedTypes/components/avatar/index.d.ts
+++ b/generatedTypes/components/avatar/index.d.ts
@@ -52,17 +52,17 @@ export declare type AvatarProps = {
* Listener-callback for when an image's (uri) loading
* starts (equiv. to Image.onLoadStart()).
*/
- onImageLoadStart?: ImagePropsBase["onLoadStart"];
+ onImageLoadStart?: ImagePropsBase['onLoadStart'];
/**
* Listener-callback for when an image's (uri) loading
* either succeeds or fails (equiv. to Image.onLoadEnd()).
*/
- onImageLoadEnd?: ImagePropsBase["onLoadEnd"];
+ onImageLoadEnd?: ImagePropsBase['onLoadEnd'];
/**
* Listener-callback for when an image's (uri) loading
* fails (equiv. to Image.onError()).
*/
- onImageLoadError?: ImagePropsBase["onError"];
+ onImageLoadError?: ImagePropsBase['onError'];
/**
* Label that can represent initials
*/
@@ -153,6 +153,7 @@ declare function createStyles(props: AvatarProps): {
initials: {
color: string | undefined;
backgroundColor: string;
+ lineHeight: undefined;
};
ribbon: {
backgroundColor: string;
diff --git a/generatedTypes/components/badge/index.d.ts b/generatedTypes/components/badge/index.d.ts
index 65b3e5bca2..5594255298 100644
--- a/generatedTypes/components/badge/index.d.ts
+++ b/generatedTypes/components/badge/index.d.ts
@@ -125,8 +125,8 @@ declare function createStyles(props: BadgeProps): {
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
- textDecorationColor?: string | undefined;
- textShadowColor?: string | undefined;
+ textDecorationColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ textShadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
textShadowOffset?: {
width: number;
height: number;
@@ -137,22 +137,22 @@ declare function createStyles(props: BadgeProps): {
fontVariant?: import("react-native").FontVariant[] | undefined;
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
backfaceVisibility?: "visible" | "hidden" | undefined;
- borderBottomColor?: string | undefined;
+ borderBottomColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderBottomEndRadius?: number | undefined;
borderBottomLeftRadius?: number | undefined;
borderBottomRightRadius?: number | undefined;
borderBottomStartRadius?: number | undefined;
borderBottomWidth?: number | undefined;
- borderColor?: string | undefined;
- borderEndColor?: string | undefined;
- borderLeftColor?: string | undefined;
+ borderColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderEndColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderLeftColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderLeftWidth?: number | undefined;
borderRadius?: number | undefined;
- borderRightColor?: string | undefined;
+ borderRightColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderRightWidth?: number | undefined;
- borderStartColor?: string | undefined;
+ borderStartColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
- borderTopColor?: string | undefined;
+ borderTopColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderTopEndRadius?: number | undefined;
borderTopLeftRadius?: number | undefined;
borderTopRightRadius?: number | undefined;
@@ -209,7 +209,7 @@ declare function createStyles(props: BadgeProps): {
width?: string | number | undefined;
zIndex?: number | undefined;
direction?: "ltr" | "rtl" | "inherit" | undefined;
- shadowColor?: string | undefined;
+ shadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
shadowOffset?: {
width: number;
height: number;
@@ -228,7 +228,7 @@ declare function createStyles(props: BadgeProps): {
};
labelSmall: {
lineHeight: undefined;
- color?: string | undefined;
+ color?: string | typeof import("react-native").OpaqueColorValue | undefined;
fontFamily?: string | undefined;
fontSize?: number | undefined;
fontStyle?: "normal" | "italic" | undefined;
@@ -237,8 +237,8 @@ declare function createStyles(props: BadgeProps): {
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
- textDecorationColor?: string | undefined;
- textShadowColor?: string | undefined;
+ textDecorationColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ textShadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
textShadowOffset?: {
width: number;
height: number;
@@ -249,23 +249,23 @@ declare function createStyles(props: BadgeProps): {
fontVariant?: import("react-native").FontVariant[] | undefined;
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
backfaceVisibility?: "visible" | "hidden" | undefined;
- backgroundColor?: string | undefined;
- borderBottomColor?: string | undefined;
+ backgroundColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderBottomColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderBottomEndRadius?: number | undefined;
borderBottomLeftRadius?: number | undefined;
borderBottomRightRadius?: number | undefined;
borderBottomStartRadius?: number | undefined;
borderBottomWidth?: number | undefined;
- borderColor?: string | undefined;
- borderEndColor?: string | undefined;
- borderLeftColor?: string | undefined;
+ borderColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderEndColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderLeftColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderLeftWidth?: number | undefined;
borderRadius?: number | undefined;
- borderRightColor?: string | undefined;
+ borderRightColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderRightWidth?: number | undefined;
- borderStartColor?: string | undefined;
+ borderStartColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
- borderTopColor?: string | undefined;
+ borderTopColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderTopEndRadius?: number | undefined;
borderTopLeftRadius?: number | undefined;
borderTopRightRadius?: number | undefined;
@@ -322,7 +322,7 @@ declare function createStyles(props: BadgeProps): {
width?: string | number | undefined;
zIndex?: number | undefined;
direction?: "ltr" | "rtl" | "inherit" | undefined;
- shadowColor?: string | undefined;
+ shadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
shadowOffset?: {
width: number;
height: number;
@@ -374,7 +374,7 @@ declare const _default: React.ComponentClass {
iconOnRight: boolean;
};
static sizes: typeof ButtonSize;
- static animationDirection: typeof AnimationDirection;
+ static animationDirection: typeof ButtonAnimationDirection;
constructor(props: Props);
state: {
size: undefined;
@@ -183,7 +183,7 @@ declare class Button extends PureComponent {
flex: number;
flexDirection: "row";
} | {
- color?: string | undefined;
+ color?: string | typeof import("react-native").OpaqueColorValue | undefined;
fontFamily?: string | undefined;
fontSize?: number | undefined;
fontStyle?: "normal" | "italic" | undefined;
@@ -193,8 +193,8 @@ declare class Button extends PureComponent {
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
- textDecorationColor?: string | undefined;
- textShadowColor?: string | undefined;
+ textDecorationColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ textShadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
textShadowOffset?: {
width: number;
height: number;
@@ -205,23 +205,23 @@ declare class Button extends PureComponent {
fontVariant?: import("react-native").FontVariant[] | undefined;
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
backfaceVisibility?: "visible" | "hidden" | undefined;
- backgroundColor: string;
- borderBottomColor?: string | undefined;
+ backgroundColor: import("react-native").ColorValue;
+ borderBottomColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderBottomEndRadius?: number | undefined;
borderBottomLeftRadius?: number | undefined;
borderBottomRightRadius?: number | undefined;
borderBottomStartRadius?: number | undefined;
borderBottomWidth?: number | undefined;
- borderColor?: string | undefined;
- borderEndColor?: string | undefined;
- borderLeftColor?: string | undefined;
+ borderColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderEndColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
+ borderLeftColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderLeftWidth?: number | undefined;
borderRadius?: number | undefined;
- borderRightColor?: string | undefined;
+ borderRightColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderRightWidth?: number | undefined;
- borderStartColor?: string | undefined;
+ borderStartColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
- borderTopColor?: string | undefined;
+ borderTopColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
borderTopEndRadius?: number | undefined;
borderTopLeftRadius?: number | undefined;
borderTopRightRadius?: number | undefined;
@@ -278,7 +278,7 @@ declare class Button extends PureComponent {
width?: string | number | undefined;
zIndex?: number | undefined;
direction?: "ltr" | "rtl" | "inherit" | undefined;
- shadowColor?: string | undefined;
+ shadowColor?: string | typeof import("react-native").OpaqueColorValue | undefined;
shadowOffset?: {
width: number;
height: number;
@@ -337,7 +337,7 @@ declare class Button extends PureComponent {
render(): JSX.Element;
}
export { Button };
-declare const _default: React.ComponentClass<(Pick & Partial> & Partial> & Partial> & Partial> & Partial> & Partial> & Partial> & {
+declare const _default: React.ComponentClass<(Pick & Partial> & Partial> & Partial> & Partial> & Partial> & Partial> & Partial> & {
backgroundColor?: string | undefined;
throttleTime?: number | undefined;
throttleOptions?: {
@@ -345,11 +345,161 @@ declare const _default: React.ComponentClass<(Pick | import("react-native").RecursiveArray | null | undefined> | import("react-native").Animated.AnimatedProps | import("react-native").Animated.AnimatedProps> | import("react-native").Animated.AnimatedProps | null | undefined>> | null | undefined;
+ style?: false | {} | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | {
+ backfaceVisibility?: "visible" | "hidden" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ backgroundColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomEndRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomLeftRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomRightRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomStartRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderBottomWidth?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderEndColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderLeftColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderLeftWidth?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderRightColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderRightWidth?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderStartColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderStyle?: "solid" | "dotted" | "dashed" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopEndRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopLeftRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopRightRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopStartRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderTopWidth?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderWidth?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ opacity?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ testID?: string | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ elevation?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ alignSelf?: "auto" | "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ aspectRatio?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderEndWidth?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ borderStartWidth?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ bottom?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ display?: "none" | "flex" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ end?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flex?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flexBasis?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flexGrow?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flexShrink?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ height?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ left?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ margin?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginBottom?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginEnd?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginHorizontal?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginLeft?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginRight?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginStart?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginTop?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ marginVertical?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ maxHeight?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ maxWidth?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ minHeight?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ minWidth?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ overflow?: "visible" | "hidden" | "scroll" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ padding?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingBottom?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingEnd?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingHorizontal?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingLeft?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingRight?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingStart?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingTop?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ paddingVertical?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ position?: "absolute" | "relative" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ right?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ start?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ top?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ width?: string | number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ zIndex?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ direction?: "ltr" | "rtl" | "inherit" | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ shadowColor?: string | typeof import("react-native").OpaqueColorValue | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ shadowOffset?: import("react-native").Animated.WithAnimatedObject<{
+ width: number;
+ height: number;
+ }> | undefined;
+ shadowOpacity?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ shadowRadius?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ transform?: import("react-native").Animated.WithAnimatedArray | undefined;
+ transformMatrix?: import("react-native").Animated.WithAnimatedArray | undefined;
+ rotation?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ scaleX?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ scaleY?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ translateX?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ translateY?: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | undefined;
+ } | {
+ toString: ((radix?: number | undefined) => string) & (() => string);
+ toFixed: (fractionDigits?: number | undefined) => string;
+ toExponential: (fractionDigits?: number | undefined) => string;
+ toPrecision: (precision?: number | undefined) => string;
+ valueOf: (() => number) & (() => Object);
+ toLocaleString: ((locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined) => string) & (() => string);
+ __registeredStyleBrand: import("react-native").Animated.WithAnimatedObject;
+ } | {
+ [x: number]: false | import("react-native").RegisteredStyle | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | import("react-native").Animated.WithAnimatedObject | import("react-native").Animated.WithAnimatedArray | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined> | readonly (false | import("react-native").RegisteredStyle | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation | import("react-native").Animated.WithAnimatedObject | null | undefined)[] | null | undefined;
+ length: number | import("react-native").Animated.Value | import("react-native").Animated.AnimatedInterpolation;
+ toString: () => string;
+ toLocaleString: () => string;
+ pop: () => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ push: (...items: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => number;
+ concat: {
+ (...items: ConcatArray | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined>[]): (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ (...items: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | ConcatArray | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined> | null | undefined)[]): (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ };
+ join: (separator?: string | undefined) => string;
+ reverse: () => (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ shift: () => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ slice: (start?: number | undefined, end?: number | undefined) => (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ sort: (compareFn?: ((a: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, b: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined) => number) | undefined) => import("react-native").RecursiveArray | null | undefined>;
+ splice: {
+ (start: number, deleteCount?: number | undefined): (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ (start: number, deleteCount: number, ...items: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]): (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ };
+ unshift: (...items: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => number;
+ indexOf: (searchElement: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, fromIndex?: number | undefined) => number;
+ lastIndexOf: (searchElement: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, fromIndex?: number | undefined) => number;
+ every: (callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => unknown, thisArg?: any) => boolean;
+ some: (callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => unknown, thisArg?: any) => boolean;
+ forEach: (callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => void, thisArg?: any) => void;
+ map: (callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => U, thisArg?: any) => U[];
+ filter: {
+ | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined>(callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => value is S, thisArg?: any): S[];
+ (callbackfn: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => unknown, thisArg?: any): (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[];
+ };
+ reduce: {
+ (callbackfn: (previousValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined): false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ (callbackfn: (previousValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, initialValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined): false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ (callbackfn: (previousValue: U_1, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => U_1, initialValue: U_1): U_1;
+ };
+ reduceRight: {
+ (callbackfn: (previousValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined): false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ (callbackfn: (previousValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, initialValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined): false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ (callbackfn: (previousValue: U_2, currentValue: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, currentIndex: number, array: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => U_2, initialValue: U_2): U_2;
+ };
+ find: {
+ | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined>(predicate: (this: void, value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, obj: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => value is S_1, thisArg?: any): S_1 | undefined;
+ (predicate: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, obj: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => unknown, thisArg?: any): false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined;
+ };
+ findIndex: (predicate: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, index: number, obj: (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined)[]) => unknown, thisArg?: any) => number;
+ fill: (value: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined, start?: number | undefined, end?: number | undefined) => import("react-native").RecursiveArray | null | undefined>;
+ copyWithin: (target: number, start: number, end?: number | undefined) => import("react-native").RecursiveArray | null | undefined>;
+ entries: () => IterableIterator<[number, false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined]>;
+ keys: () => IterableIterator;
+ values: () => IterableIterator | import("react-native").RecursiveArray | null | undefined> | readonly (false | import("react-native").ViewStyle | import("react-native").RegisteredStyle | null | undefined)[] | null | undefined>;
+ includes: (searchElement: false | import("react-native").ViewStyle | import("react-native").RegisteredStyle