Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { progress } = this.state;
if (progress < 1) {
if (progressImage) {
return (
<img>
);
}
if (Platform.OS === 'android') {
return ;
}
const ProgressElement = useCircleProgress ? Progress.Circle : Progress.Bar;
return (
);
}
return null;
}