-
-
Save danielrudn/40dc454da34b93a1d3a9f89d614f4a74 to your computer and use it in GitHub Desktop.
Search Result - https://cognitiveclass.ai/blog/react-on-rails-tutorial-integrating-react-and-ruby-on-rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
export default ({ result }) => ( | |
<a className="item" href={`/apps/${result.id}`}> | |
<div className="middle aligned content"> | |
<div className="header">{result.name}</div> | |
<div className="meta">{result.author}</div> | |
</div> | |
</a> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment