appbaseio/reactivesearch

View on GitHub
site/demos/technews/src/App.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { ReactiveBase } from '@appbaseio/reactivesearch';

import theme from './styles/theme';

import Header from './components/Header';
import SearchFilters from './components/SearchFilters';
import Results from './components/Results';

import Container from './styles/Container';
import Main from './styles/Main';

const App = () => (
    <Main>
        <Container>
            <ReactiveBase
                app="hackernews-live"
                credentials="kxBY7RnNe:4d69db99-6049-409d-89bd-e1202a2ad48e"
                theme={theme}
            >
                <Header />
                <SearchFilters />
                <Results />
            </ReactiveBase>
        </Container>
    </Main>
);

export default App;