import React, { useState, useEffect } from "react"; import { Text, StyleSheet, SafeAreaView } from "react-native"; import Skeleton from ".."; const SkeletonExample: React.FC = () => { const [isLoading, setIsLoading] = useState(true); useEffect(() => { setTimeout(() => { setIsLoading(false); }, 1500); }, []); return ( <> Your content Other content ); }; export default SkeletonExample; const styles = StyleSheet.create({ bigText: { fontSize: 24, }, container: { alignItems: "center", }, normalText: { fontSize: 16, }, });