- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
1.2 KiB
JavaScript
26 lines
1.2 KiB
JavaScript
import { Platform, View } from 'react-native';
|
|
import React from 'react';
|
|
import { isNativePlatformSupported, screensEnabled } from '../core';
|
|
|
|
// Native components
|
|
import ScreenContainerNativeComponent from '../fabric/ScreenContainerNativeComponent';
|
|
import ScreenNavigationContainerNativeComponent from '../fabric/ScreenNavigationContainerNativeComponent';
|
|
export const NativeScreenContainer = Platform.OS !== 'web' ? ScreenContainerNativeComponent : View;
|
|
export const NativeScreenNavigationContainer = Platform.OS !== 'web' ? ScreenNavigationContainerNativeComponent : View;
|
|
function ScreenContainer(props) {
|
|
const {
|
|
enabled = screensEnabled(),
|
|
hasTwoStates,
|
|
...rest
|
|
} = props;
|
|
if (enabled && isNativePlatformSupported) {
|
|
if (hasTwoStates) {
|
|
const ScreenNavigationContainer = Platform.OS === 'ios' ? NativeScreenNavigationContainer : NativeScreenContainer;
|
|
return /*#__PURE__*/React.createElement(ScreenNavigationContainer, rest);
|
|
}
|
|
return /*#__PURE__*/React.createElement(NativeScreenContainer, rest);
|
|
}
|
|
return /*#__PURE__*/React.createElement(View, rest);
|
|
}
|
|
export default ScreenContainer;
|
|
//# sourceMappingURL=ScreenContainer.js.map
|