-
Notifications
You must be signed in to change notification settings - Fork 27
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
Modal component #10
Modal component #10
Conversation
I tried to follow what |
}; | ||
|
||
render() { | ||
const { style = {}, className } = this.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.
you get props as part of the render
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.
render({ style = {}, className }) {
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.
That makes sense, and I am happy to make the change, but I tried to closely follow the style of Notify
. Should I add to the PR?
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.
no its fine.
Really cool - I will play around with this tonight/tomorrow. |
@konsumer Thank you for the contribution :) |
@konsumer has been released as part of |
This adds a modal component & docs, that looks like this: