Skip to content
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

docs(Portal): remove useless props in PortalExampleControlled #2159

Merged
merged 1 commit into from
Oct 3, 2017

Conversation

layershifter
Copy link
Member

Rel #2156.

state = {
open: false,
}
state = { open: false }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be one-line

onClose={this.handleClose}
open={open}
>
<Portal onClose={this.handleClose} open={open}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closeOnTriggerClick and openOnTriggerClick are useless for controlled example

@codecov-io
Copy link

Codecov Report

Merging #2159 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2159   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files         151      151           
  Lines        2606     2606           
=======================================
  Hits         2600     2600           
  Misses          6        6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17584a9...ba39a4a. Read the comment docs.

@layershifter layershifter merged commit ee931d2 into master Oct 3, 2017
@layershifter layershifter deleted the docs/portal-fix-example branch October 3, 2017 16:01
@levithomason
Copy link
Member

Released in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants