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(Ref): add a basic example #2226

Merged
merged 2 commits into from
Oct 29, 2017
Merged

docs(Ref): add a basic example #2226

merged 2 commits into from
Oct 29, 2017

Conversation

layershifter
Copy link
Member

This PR adds a basic example to the Ref component.

const PopupExampleTitled = () => (
<div>
{users.map(user => (
<Popup
key={user.name}
trigger={(
<div>
Copy link
Member Author

Choose a reason for hiding this comment

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

After #2219 was merged stateless component can be used as trigger without warnings 👍

@layershifter
Copy link
Member Author

@levithomason Feel free to push any updates there if you will want 😄

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@4f29636). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2226   +/-   ##
=========================================
  Coverage          ?   99.73%           
=========================================
  Files             ?      151           
  Lines             ?     2624           
  Branches          ?        0           
=========================================
  Hits              ?     2617           
  Misses            ?        7           
  Partials          ?        0

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 4f29636...6d4331b. Read the comment docs.

@levithomason
Copy link
Member

Awesome 👍

@levithomason levithomason merged commit f555a97 into master Oct 29, 2017
@levithomason levithomason deleted the docs/ref branch October 29, 2017 05:14
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants