-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: scaffolded getting started screen #1
base: main
Are you sure you want to change the base?
Conversation
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.
Hi, thanks for your PR! I've made a couple comments regarding it.
I generally recommend running the prettier formatter on the code, that'll fix the formatting.
Generally, the way I wrote the original code I had functions in mind rather than arrow functions. For consistency's sake, it may be best for us to all use functions rather than arrow functions. Also, since we're using TypeScript for this repository, please use interfaces to define your props. Thanks again!
iconLaptop: IconLaptop, | ||
}; | ||
|
||
const SVGIcon = ({ type, ...props }) => { |
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 use interfaces. I suggest creating an interface that extends whatever interface the props of SVGIcon uses. Also, ideally we'd use a different name for the SVGIcon variable and component.
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.
Got it! What is a good name instead of SVGIcon?
</View> | ||
); | ||
|
||
const renderItem = ({ item }) => ( |
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.
Same as previous comment. Please use interfaces.
To Do: