react-native-ui-lib 9.0.0 → 9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "9.0.0",
3
+ "version": "9.0.2",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -36,7 +36,7 @@ const useAnimatedFooterStyle = props => {
36
36
  let translateY = 0;
37
37
  if (animationType === 'slide') {
38
38
  translateY = animatedValue.value;
39
- } else {
39
+ } else if (animationType === 'fade') {
40
40
  style = {
41
41
  opacity: animatedValue.value
42
42
  };
@@ -1,6 +1,7 @@
1
1
  import React, { Component } from 'react';
2
2
  import { Animated, StyleProp, ViewStyle, AccessibilityProps } from 'react-native';
3
3
  import { AlignmentModifiers, PaddingModifiers, MarginModifiers } from '../../commons/new';
4
+ import type { ComponentStatics } from '../../typings/common';
4
5
  export declare enum Template {
5
6
  LIST_ITEM = "listItem",
6
7
  TEXT_CONTENT = "content"
@@ -160,4 +161,5 @@ declare class SkeletonView extends Component<SkeletonViewProps, SkeletonState> {
160
161
  renderNothing: () => null;
161
162
  render(): string | number | bigint | boolean | React.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
162
163
  }
163
- export default SkeletonView;
164
+ declare const _default: React.ComponentClass<SkeletonViewProps, any> & ComponentStatics<typeof SkeletonView>;
165
+ export default _default;