{"size": 477, "ext": "js", "max_stars_repo_path": "src/components/ScrollableTabView/SceneComponent.js", "max_stars_repo_name": "GravitywellUK/sticky-parallax-header", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/ScrollableTabView/SceneComponent.js", "max_issues_repo_name": "GravitywellUK/sticky-parallax-header", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/ScrollableTabView/SceneComponent.js", "max_forks_repo_name": "GravitywellUK/sticky-parallax-header", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.6818181818, "max_line_length": 80, "alphanum_fraction": 0.6750524109}
import React from 'react';
import { View } from 'react-native';
import { node } from 'prop-types';
import StaticContainer from './StaticContainer';

const SceneComponent = (Props) => {
  const { shouldUpdated, ...props } = Props;
  const { children } = props;

  return (
    <View {...props}>
      <StaticContainer shouldUpdate={shouldUpdated}>{children}</StaticContainer>
    </View>
  );
};

SceneComponent.propTypes = {
  children: node
};

export default SceneComponent;
