@tamagui/react-native-web-lite
Version:
React Native for Web
14 lines (13 loc) • 424 B
JavaScript
import * as React from "react";
class StaticContainer extends React.Component {
shouldComponentUpdate(nextProps) {
return !!nextProps.shouldUpdate;
}
render() {
const child = this.props.children;
return child === null || child === !1 ? null : React.Children.only(child);
}
}
var StaticContainer_default = StaticContainer;
export { StaticContainer_default as default };
//# sourceMappingURL=index.mjs.map