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.tokenData) {
return _react2.default.createElement(
'div',
null,
_react2.default.createElement(_circularProgress.CircularProgress, { size: 'large' })
);
}
return _react2.default.createElement(
'div',
{
style: { display: 'flex', flexDirection: 'column', flex: 1, justifyContent: 'center', alignItems: 'center', padding: "30px", backgroundColor: this.props.backgroundColor }
},
this.renderText(),
this.renderRowsAndColumns()
);
}
}]);
value: function renderComponent() {
if (!this.state.testimonialsData) {
return _react2.default.createElement(
'div',
null,
_react2.default.createElement(_circularProgress.CircularProgress, { size: 'large' })
);
}
return _react2.default.createElement(
'div',
{
style: { display: 'flex', flexDirection: 'column', flex: 1, justifyContent: 'center', alignItems: 'center', margin: '100px 15px' }
},
this.renderText(),
this.renderSlider()
);
}
}]);