import React from 'react'; import PropTypes from 'prop-types'; import CommonToolbar from './common-toolbar'; import { Button } from 'reactstrap'; import { gettext } from '../../utils/constants'; import { Utils } from '../../utils/utils'; const propTypes = { onShowSidePanel: PropTypes.func.isRequired, onSearchedClick: PropTypes.func.isRequired, toggleInvitePeopleDialog: PropTypes.func.isRequired, searchPlaceholder: PropTypes.string.isRequired, }; class InvitationsToolbar extends React.Component { constructor(props) { super(props); } render() { let { onShowSidePanel, onSearchedClick, toggleInvitePeopleDialog } = this.props; return (
{Utils.isDesktop() ? (
) : ( )}
); } } InvitationsToolbar.propTypes = propTypes; export default InvitationsToolbar;