1
0
Fork 0

feat(core): Added new debug event type and debug system

This commit is contained in:
Joost De Cock 2020-07-18 16:48:29 +02:00
parent b360359cf6
commit 03da84b824
52 changed files with 860 additions and 398 deletions

View file

@ -0,0 +1,16 @@
import React from 'react'
import Event from './event'
const DraftEvents = ({ events, app }) => (
<div className="draft-events">
{['error', 'warning', 'info', 'debug'].map((type) => (
<div className={`events-${type}`}>
{events[type].map((event, index) => (
<Event event={event} app={app} type={type} key={index} />
))}
</div>
))}
</div>
)
export default DraftEvents