Decouple fetching events from rendering logic/use TS/add events card
In order to add Events card to Dashboards I needed to refactor
events.jsx to be able to render events in a way which fits.
I decoupled fetching events logic from rendering and put it into
I also updated
events page - its using
utils/events-stream.tsx and I also added types for