Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: function renderComponent() {
if (this.state.loading) {
return _react2.default.createElement(
'div',
{
style: {
display: 'flex',
flex: 1,
margin: '10px',
justifyContent: 'center',
flexDirection: 'column',
alignItems: 'center'
}
},
_react2.default.createElement(
_Card.Card,
{ style: { width: '80vw', margin: '20px', padding: '0px' } },
_react2.default.createElement(_linearProgress.LinearProgress, { determinate: false })
)
);
}
return _react2.default.createElement(
'div',
{
style: {
color: this.props.textColor,
backgroundColor: this.props.backgroundColor
} },
this.renderTimeline(),
_react2.default.createElement(
'div',