-
Notifications
You must be signed in to change notification settings - Fork 14
Cem 2516 #380
base: master
Are you sure you want to change the base?
Conversation
…ver to branch and created folder for LoyaltyPoints in src, noted what I have to do this week.
…an image for the star.
…r. made changes ralph suggested during friday meeting that fixed colour and coding practice issues.
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.
Use the Theme
https://github.com/cheapreats/react-ui-library/blob/master/src/Themes/MainTheme.ts Theme lives here, feel free to extend it with the color white if its not there |
…t guide, and corrected the errors pointed out by ralph on github.
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.
Why is a random package added?
Try removing it, then running npm install and npm start and see if application still work |
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 include image in PR
|
||
export interface LoyaltyPointsProps | ||
extends React.HTMLAttributes<HTMLDivElement>{ | ||
LoyaltyAmount: number; |
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.
Why are props uppercase? With no docs
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.
Im having an issue with the text colour being forced to be the colour of paragraph rather than my styled div since changing to it, cant figure out how to fix that.
Have you tried overriding the styles? If so, maybe you need to specify a higher specificity |
@percypie |
alright thank you, sorry I couldnt figure it out. |
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.
Lgtm
No description provided.