How to use the react-icons-kit/md.ic_fast_rewind function in react-icons-kit

To help you get started, we’ve selected a few react-icons-kit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Harmoware / Harmoware-VIS / lib / components / addminutes-button.js View on Github external
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
        )
      );
    }
  }]);