UNPKG

react-native-scrollable-tab-view

Version:

[![npm version](https://badge.fury.io/js/react-native-scrollable-tab-view.svg)](https://badge.fury.io/js/react-native-scrollable-tab-view)

18 lines (14 loc) 463 B
const React = require('react'); const ReactNative = require('react-native'); const { Component } = React; const { View, StyleSheet } = ReactNative; const StaticContainer = require('./StaticContainer'); const SceneComponent = (Props) => { const { shouldUpdated, ...props } = Props; return <View {...props}> <StaticContainer shouldUpdate={shouldUpdated}> {props.children} </StaticContainer> </View>; }; module.exports = SceneComponent;