-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d7b7cb
commit 619efd2
Showing
9 changed files
with
2,347 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
|
||
const CategoryLayoutRenderer = (props) => { | ||
const { categoryContent, resultsContent } = props; | ||
return ( | ||
<div> | ||
<h3 className="name">{categoryContent}</h3> | ||
<div className="results">{resultsContent}</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CategoryLayoutRenderer; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
import { Search, Grid, Header, Segment, Label } from 'semantic-ui-react'; | ||
|
||
const CategoryRenderer = (props) => { | ||
const { name } = props; | ||
return <div className="category-title">{name}</div>; | ||
}; | ||
|
||
export default CategoryRenderer; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import { Icon, Popup } from 'semantic-ui-react'; | ||
|
||
const ResultRenderer = (props) => { | ||
return <Popup trigger={<Icon name={props.name} />}>{props.name}</Popup>; | ||
}; | ||
|
||
export default ResultRenderer; |
Oops, something went wrong.