You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally `Animated TabBar` worked only with `React Navigation`, but I notice that it could be use as a standalone component and be more useful for the community.
40
51
52
+
Now the library export two main components:
53
+
54
+
-`AnimatedTabBar` ( **default** ) : the `React Navigation` integrated tab bar.
55
+
-`AnimatedTabBarView`: the standalone tab bar.
56
+
41
57
<details>
42
58
<summary>Standalone Component</summary>
43
59
@@ -247,12 +263,12 @@ export default () => (
247
263
| name | description | required | type | default |
|`preset`| Animation preset, currently options are `['bubble', 'flashy']`. | NO |[`PresetEnum`](./src/presets.ts#L15)| 'bubble' |
250
-
|`tabs`| Tabs configurations. A generic dictionary of selected preset tab config. | YES |[`TabsConfig<T>`](./src/types.ts#L4)||
266
+
|`tabs`| Tabs configurations. A generic dictionary of selected preset tab config. | YES |[`TabsConfig<T>`](./src/types.ts#L5)||
251
267
|`style`| View style to be applied to tab bar container, `default value will be based on selected preset`. | NO | StyleProp<ViewStyle> ||
252
268
|`duration`| Animation duration, `default value will be based on selected preset`. | NO | number ||
253
269
|`easing`| Animation easing function, `default value will be based on selected preset`. | NO |[`EasingFunction`](https://github.com/software-mansion/react-native-reanimated/blob/master/src/Easing.js)||
254
-
|`itemInnerSpace`| Tab item inner space to be added to the tab item, `default value will be based on selected preset`. | NO | number \|[`Space`](./src/types.ts#L21)||
255
-
|`itemOuterSpace`| Tab item outer space to be added to the tab item, `default value will be based on selected preset`. | NO | number \|[`Space`](./src/types.ts#L21)||
270
+
|`itemInnerSpace`| Tab item inner space to be added to the tab item, `default value will be based on selected preset`. | NO | number \|[`Space`](./src/types.ts#L29)||
271
+
|`itemOuterSpace`| Tab item outer space to be added to the tab item, `default value will be based on selected preset`. | NO | number \|[`Space`](./src/types.ts#L34)||
256
272
|`itemContainerWidth`| Tab item width stretch strategy, `default value will be based on selected preset`. | NO | 'auto' \| 'fill' ||
257
273
|`iconSize`| Tab item icon size, `default value will be based on selected preset`. | NO | number ||
258
274
|`isRTL`| Tab bar layout and animation direction. | NO | boolean | false |
0 commit comments