UNPKG

coinforbarter-react-native

Version:

CoinForBarter ReactNative Library - Integrate cryptocurrency payments for goods and services in your Mobile App

54 lines (53 loc) 1.06 kB
import { Dimensions } from 'react-native'; const width = Dimensions.get('window').width; const height = Dimensions.get('window').height; const middleBody = { shadowColor: 'rgba(0, 0, 0, 0.8)', shadowOffset: { width: -1, height: 2, }, shadowOpacity: 2, shadowRadius: 3, elevation: 5, }; const c4bHeader = { shadowColor: 'rgba(0, 0, 0, 0.8)', shadowOffset: { width: -1, height: 2, }, shadowOpacity: 2, shadowRadius: 3, elevation: 5, backgroundColor: 'white', padding: 20, }; const c4bBody = { backgroundColor: '#3D0040', flex: 1, width, height, }; const main = { flex: 1, height, }; const Lock = { shadowColor: 'rgba(0, 0, 0, 0.8)', shadowOffset: { width: -1, height: 2, }, shadowOpacity: 2, shadowRadius: 3, elevation: 5, width: width * 0.6, }; export const CoinForBarterBodyStyle = { c4bHeader, middleBody, c4bBody, Lock, main, };