UNPKG

@meshconnect/react-native-link-sdk

Version:
9 lines (8 loc) 405 B
import React from 'react'; import { View } from 'react-native'; import { DARK_THEME_COLOR_BOTTOM, LIGHT_THEME_COLOR_BOTTOM } from '../constant'; export const SDKViewContainer = ({ children, isDarkTheme }) => { return (<View style={{ flex: 1, backgroundColor: isDarkTheme ? DARK_THEME_COLOR_BOTTOM : LIGHT_THEME_COLOR_BOTTOM }} testID={'link-connect-view-component'}> {children} </View>); };