visual-identity/app/components/Voting.js

14 lines
356 B
JavaScript

import React, { Fragment } from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
import 'typeface-roboto';
import AppBar from './standard/AppBar';
import AddPoll from './simple-voting/AddPoll';
export default ({ toggleAdmin }) => (
<Fragment>
<CssBaseline />
<AppBar toggleAdmin={toggleAdmin} />
<AddPoll />
</Fragment>
)