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 render() {
var _props = this.props,
addMinutes = _props.addMinutes,
children = _props.children,
i18n = _props.i18n,
className = _props.className;
return _react2.default.createElement(
'button',
{ onClick: this.addMinutes.bind(this, addMinutes), className: className },
children === undefined ? _react2.default.createElement(
'span',
null,
addMinutes > 0 ? _react2.default.createElement(_reactIconsKit.Icon, { icon: _md.ic_fast_forward }) : _react2.default.createElement(_reactIconsKit.Icon, { icon: _md.ic_fast_rewind }),
'\xA0',
addMinutes,
'\xA0',
i18n.minutesCaption
) : _react2.default.createElement(
'span',
null,
children
)
);
}
}]);