feat(core): Added new debug event type and debug system
This commit is contained in:
parent
b360359cf6
commit
03da84b824
52 changed files with 860 additions and 398 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue