How to use the react-icons/fa.FaPlus function in react-icons

To help you get started, we’ve selected a few react-icons 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 cvdlab / react-planner / lib / components / toolbar / toolbar.js View on Github external
index: 1, condition: allowProjectFileSupport,
        dom: _react2.default.createElement(_toolbarSaveButton2.default, { state: state })
      }, {
        index: 2, condition: allowProjectFileSupport,
        dom: _react2.default.createElement(_toolbarLoadButton2.default, { state: state })
      }, {
        index: 3, condition: true,
        dom: _react2.default.createElement(
          _toolbarButton2.default,
          {
            active: [_constants.MODE_VIEWING_CATALOG].includes(mode),
            tooltip: translator.t('Open catalog'),
            onClick: function onClick(event) {
              return projectActions.openCatalog();
            } },
          _react2.default.createElement(_fa.FaPlus, null)
        )
      }, {
        index: 4, condition: true, dom: _react2.default.createElement(
          _toolbarButton2.default,
          {
            active: [_constants.MODE_3D_VIEW].includes(mode),
            tooltip: translator.t('3D View'),
            onClick: function onClick(event) {
              return viewer3DActions.selectTool3DView();
            } },
          _react2.default.createElement(Icon3D, null)
        )
      }, {
        index: 5, condition: true, dom: _react2.default.createElement(
          _toolbarButton2.default,
          {