Console
{ this.consoleMessages = element; }} className="preview-console__messages">
{this.props.consoleEvents.map((consoleEvent) => {
const args = consoleEvent.arguments;
const method = consoleEvent.method;
if (Object.keys(args).length === 0) {
return (
{'undefined'}
);
}
return (
{Object.keys(args).map(key => {args[key]})}
);
})}