UNPKG

@questlabs/react-native-sdk

Version:
38 lines (37 loc) 819 B
import { StyleSheet, Dimensions } from "react-native"; const Width = Dimensions.get("screen").width; const space = Width * 0.06; export const styles = StyleSheet.create({ notificationView: { backgroundColor: "white", paddingHorizontal: 20, paddingVertical: 10, borderRadius: 10, width: "90%", position: "absolute", top: 50, right: space, left: space, opacity: 1, zIndex: 1, }, tinyLogo: { width: 30, height: 30, }, headerView: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", }, headerText: { fontSize: 12, fontWeight: "500", }, detailView: { justifyContent: "center", alignItems: "flex-start", marginTop: 5, }, detailText: { fontSize: 15 }, });