-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Grow] Condense the demo #13665
[Grow] Condense the demo #13665
Conversation
We could just use the component's timeout props. Tried it myself and it worked :)
@Thyix This changes the documentation description behavior. What's the motivation? |
I was just using it, and wondered if you could use timeout props without adding a condition after the |
@Thyix Ok thanks, your use case is valid but change what we want to demonstrate. I have added a comment in this pull request diff. |
@@ -39,27 +39,26 @@ class SimpleGrow extends React.Component { | |||
const { classes } = this.props; | |||
const { checked } = this.state; | |||
|
|||
const polygon = ( |
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.
Perhaps not the best choice of variable name...
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.
child?
We could just use the component's timeout props. :)