/*
 * @Author: your name
 * @Date: 2022-04-20 10:04:49
 * @LastEditTime: 2022-04-20 10:04:51
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /YMJRN/src/common/headtableview/SceneComponent.tsx
 */
import React, { Component } from 'react';
import { View } from 'react-native';
import StaticContainer from './StaticContainer';

export default function SceneComponent(Props) {
    const { children, shouldUpdated, ...props } = Props;
    return (
        <View {...props}>
            <StaticContainer shouldUpdate={shouldUpdated}>{children}</StaticContainer>
        </View>
    );
}
