import { Image, StyleSheet, View } from "react-native"; import React from "react"; import { useSelector } from "react-redux"; import { RootState } from "../../redux/store"; type Props = { visible: boolean | undefined; url: string; }; const Guide = (props: Props) => { const orientation = useSelector((state: RootState) => state.Util.orientation); return ( ); }; export default Guide; const styles = StyleSheet.create({ root: { width: "100%", height: "100%", zIndex: 1, left: 0, top: 0, position: "absolute", }, image: { position: "absolute", zIndex: 1, alignSelf: "center", aspectRatio: 16 / 9, height: "80%", transform: [ { rotate: "90deg", }, ], }, });