diff --git a/client/src/Components/Search/index.js b/client/src/Components/Search/index.js index 109fb75a6..b4fcffc86 100644 --- a/client/src/Components/Search/index.js +++ b/client/src/Components/Search/index.js @@ -3,6 +3,14 @@ import { Query } from 'react-apollo' import { Typography } from '@material-ui/core' +import AppBar from '@material-ui/core/AppBar' +import Tabs from '@material-ui/core/Tabs' +import Tab from '@material-ui/core/Tab' +import ProfileSheetIcon from '@material-ui/icons/Create' +import ProfileImagesIcon from '@material-ui/icons/Wallpaper' +import YourReferrerIcon from '@material-ui/icons/AccessibilityNew' +import DescendentsIcon from '@material-ui/icons/DeviceHub' + import { withStyles } from '@material-ui/core/styles' import styles from './styles' @@ -10,11 +18,65 @@ import { listEventsCalls } from '../../GraphQL/Calls/index' import Event from './Event' +function TabContainer (props) { + return ( + + {props.children} + + ) +} + class Search extends React.Component { + state = { + value: 0 + } + + handleChange = (event, value) => { + this.setState({ value }) + } + render () { const classes = this.props.classes + const { value } = this.state return ( +
+ + + } + /> + } + /> + } + /> + } + /> + + + {value === 0 &&

hahah

} + {value === 1 &&

hoho

} + {value === 2 &&

hihi

} + {value === 3 &&

hehe

} +
({ + root: { + flexGrow: 1, + width: '100%', + backgroundColor: theme.palette.background.paper, + padding: 0, + margin: 0 + }, + tabTitle: { + width: '25%', + maxWidth: 'none' + }, card: { flexGrow: 1, padding: 20,