import React, {useState, useEffect} from 'react'; import {View} from 'react-native'; import tw from 'tailwind-rn'; //Color import Color from '../constants/Colors'; function Progress({percent}) { const [delayPercent, setDelayPercent] = useState(0); useEffect(() => { setTimeout(() => { setDelayPercent(() => percent); }, 1000); }, [percent]); return ( ); } export default Progress;