import React, { PropTypes } from 'react';
import PollList from '../containers/poll_list.js';
import { Button } from 'rebass';

const PollListScreen = ({newPoll}) => (
  <div style={{paddingTop: 48}}>
    <PollList />
    <Button
      pill={true}
      theme='primary'
      onClick={newPoll}
    >
      New Poll
    </Button>
  </div>
);
PollListScreen.propTypes = {
  newPoll: PropTypes.func
};

export default PollListScreen;

import React, { PropTypes } from 'react';
import PollList from '../containers/poll_list.js';

const PollListScreen = ({newPoll}) => (
  <div style={{paddingTop: 48}}>
    <PollList />
  </div>
);
PollListScreen.propTypes = {
  newPoll: PropTypes.func
};

export default PollListScreen;

Remove New Poll button from PollListScreen
Remove New Poll button from PollListScreen
