import React from 'react'; import SessionSearchField from 'Shared/SessionSearchField'; import SavedSearch from 'Shared/SavedSearch'; import { Button, Popup } from 'UI'; import { clearSearch } from 'Duck/search'; import { connect } from 'react-redux'; interface Props { clearSearch: () => void; } const MainSearchBar = (props: Props) => { return (
props.clearSearch()} > Clear } content={'Clear Steps'} size="tiny" inverted position="top right" />
) } export default connect(null, { clearSearch })(MainSearchBar);