react-native-scrollable-tab-view-forked
Version:
forked react-native-scrollable-tab-view ,you can set line width
18 lines (14 loc) • 462 B
JavaScript
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;