-
Notifications
You must be signed in to change notification settings - Fork 28
add loading component #909
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
Conversation
Published version: @draftbit/[email protected] |
Published version: @draftbit/[email protected] |
Published version: @draftbit/[email protected] |
Published version: @draftbit/[email protected] |
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.
Some minor comments, otherwise awesome stuff!
export enum ActivityIndicatorType { | ||
plane = "plane", |
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.
export enum ActivityIndicatorType { | |
plane = "plane", | |
export enum ActivityIndicatorType { | |
default = "default" | |
plane = "plane", |
Let's have a default type to make it more explicit
color, | ||
theme, | ||
type, | ||
size, |
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.
color, | |
theme, | |
type, | |
size, | |
theme, | |
color = theme.colors.branding.primary, | |
type = "default", | |
size = "small", |
Let's add default values here to be consistent with how it's in other components
<View | ||
style={{ | ||
transform: [{ scale: scaleLevel }], | ||
}} |
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.
The style
prop should be applied here instead of the child component so we'd need to extract it from rest
and apply it directly.
Published version: @draftbit/[email protected] |
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.
Awesome. Don't forget to make the same changes for the 49
branch
Yep sure. Thanks |
Overview
Screen.Recording.2024-07-31.at.11.05.06.mov