-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added the circular progress bar #6
base: main
Are you sure you want to change the base?
Conversation
app/components/CourseCard.tsx
Outdated
@@ -41,10 +41,9 @@ export const CourseCard = observer(function CourseCard(props: CourseCardProps) { | |||
style={$image} | |||
/> | |||
<View style={$subContainer}> | |||
<View> | |||
<View style={{ flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove inline styling and use object-based styling as the other styles
app/components/Progress.tsx
Outdated
progress: number | ||
/** an optional style override useful for padding & margin. */ | ||
style?: StyleProp<ViewStyle> | ||
// Packages Imports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make a different component for circular progress and keep this component intact, alternatively, you can make a preset in this component itself. Whatever suits best to you.
@ItsFlash10 I have made the said changes and pushed to the same branch |
There was a todo in CourseCard.tsx to add circular progress

here is a preview: