Skip to content

Commit

Permalink
fix: error when using component
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jun 2, 2022
1 parent 2509e21 commit 7badde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Expand Up @@ -14,7 +14,7 @@ export type RLottieViewProps = ViewProps & {
};

const RLottieView = isFabricEnabled
? require('./specs/RLottieViewNativeComponent').default
? require('./RLottieViewNativeComponent').default
: requireNativeComponent<RLottieViewProps>('RLottieView');

export default RLottieView;

0 comments on commit 7badde5

Please sign in to comment.