Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
//Vendor modules
import RenderKid from 'renderkid';
const renderKid = new RenderKid();
renderKid.style({
'message-text': {
display: 'inline',
background: 'white',
color: 'black',
paddingLeft: 1
},
'message-header-generated': {
background: 'green',
color: 'black',
padding: 1
},
'message-header-skipped': {
background: 'yellow',
color: 'black',
//Vendor modules
import RenderKid from 'renderkid';
const renderKid = new RenderKid();
renderKid.style({
'message-text': {
display: 'inline',
background: 'white',
color: 'black',
paddingLeft: 1
},
'message-header-error': {
background: 'red',
color: 'black',
padding: 2
},
'message-header-warning': {
background: 'yellow',
color: 'black',