-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
UI changes #544
UI changes #544
Conversation
paulpichot
commented
Aug 21, 2019
- Added 2 fonts (Varela Round & Inter) and font faces + Font family -> Varela Round in Global body
- Created 2 components : EventCard and HowToCard
- Created Flex that extends Flex rebass with Matthia's Design System titles
- Fixed responsive of how to and image gallery style
- Removed the material UI loading progress and replaced simply by "Loading..."
- Styled the map popup
src/components/Button/index.tsx
Outdated
} | ||
|
||
export const litleBtn = (props: IBtnProps) => |
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.
I think you mispel little, you mean littleBtn
?
src/components/Button/index.tsx
Outdated
|
||
// extend to allow any default button props (e.g. onClick) to also be passed | ||
export interface IBtnProps extends React.ButtonHTMLAttributes<HTMLElement> { | ||
icon?: keyof IGlyphs | ||
disabled?: boolean | ||
litleBtn?: boolean | ||
mediumBtn?: boolean | ||
bigBtn?: boolean |
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.
Instead of adding 3 different props for the button you could add one props size
that can take 3 values small | medium | big
See an example here