import React from 'react' import {View} from 'react-native' import * as Progress from 'react-native-progress' import {atoms as a, useTheme} from '#/alf' import {AnimatedCheck} from '../anim/AnimatedCheck' import {Text} from '../Typography' export function ProgressGuideTask({ current, total, title, subtitle, }: { current: number total: number title: string subtitle?: string }) { const t = useTheme() return ( {current === total ? ( ) : ( )} {title} {subtitle && ( {subtitle} )} ) }