UNPKG

react-native-spotlight-guide

Version:

A modern, customizable and high-performance spotlight/walkthrough library for React Native with TypeScript support

60 lines (59 loc) 1.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.styles = void 0; const react_native_1 = require("react-native"); const constants_1 = require("../../constants"); exports.styles = react_native_1.StyleSheet.create({ childWrapper: { alignSelf: "flex-start", }, overlay: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, }, contentContainer: { position: "absolute", backgroundColor: "white", padding: 20, borderRadius: 8, shadowColor: "#000", shadowOffset: { width: 0, height: 2, }, shadowOpacity: 0.25, shadowRadius: 3.84, elevation: 5, maxWidth: constants_1.SCREEN.WIDTH - 40, }, contentText: { fontSize: 16, color: "#333", marginBottom: 20, }, buttonContainer: { flexDirection: "row", justifyContent: "center", alignItems: "center", gap: 10, paddingHorizontal: 10, }, button: { flexBasis: 120, paddingHorizontal: 20, paddingVertical: 10, backgroundColor: "#007AFF", borderRadius: 8, alignItems: "center", justifyContent: "center", }, buttonText: { color: "white", fontSize: 16, fontWeight: "600", textAlign: "center", }, });