How to use the @rmwc/list.ListItemPrimaryText function in @rmwc/list

To help you get started, we’ve selected a few @rmwc/list 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 fluidtrends / chunky / web / lib / components / Drawer.js View on Github external
_list.ListItem,
          {
            onClick: _this3._onMenuItem(item),
            key: 'menuItem' + index++ },
          item.id === 'translation' ? _react2.default.createElement(_select.Select, {
            label: item.title,
            options: languages,
            onChange: function onChange(evt) {
              return _this3.changeLanguage(evt.target.value);
            },
            value: _this3.state.selectedLanguage,
            style: {
              color: theme.navigationTextButton
            }
          }) : _react2.default.createElement(
            _list.ListItemPrimaryText,
            null,
            translatedTitle
          )
        );
      });
    }

@rmwc/list

RMWC List component

MIT
Latest version published 2 months ago

Package Health Score

84 / 100
Full package analysis