import React from 'react'; import { Input, Button } from 'UI'; import { PlayerContext } from 'App/components/Session/playerContext'; function EventSearch(props) { const { player } = React.useContext(PlayerContext); const { onChange, value, header, setActiveTab } = props; const toggleEvents = () => player.toggleEvents(); return (