How to use the react-bootstrap-typeahead.Typeahead.MenuItem function in react-bootstrap-typeahead

To help you get started, we’ve selected a few react-bootstrap-typeahead 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 patternfly / patternfly-react / packages / patternfly-3 / patternfly-react / src / components / TypeAheadSelect / TypeAheadSelect.js View on Github external
import {
  Typeahead as TypeAheadSelect,
  Highlighter,
  Menu,
  MenuItem,
  Token,
  TypeaheadMenu,
  asyncContainer,
  menuItemContainer,
  tokenContainer
} from 'react-bootstrap-typeahead';
import AsyncTypeAheadSelect from './AsyncTypeAheadSelect';

TypeAheadSelect.Highlighter = Highlighter;
TypeAheadSelect.Menu = Menu;
TypeAheadSelect.MenuItem = MenuItem;
TypeAheadSelect.Token = Token;
TypeAheadSelect.TypeaheadMenu = TypeaheadMenu;
TypeAheadSelect.asyncContainer = asyncContainer;
TypeAheadSelect.menuItemContainer = menuItemContainer;
TypeAheadSelect.tokenContainer = tokenContainer;

TypeAheadSelect.Async = AsyncTypeAheadSelect;

export default TypeAheadSelect;
github patternfly / patternfly-react / packages / patternfly-react / src / components / TypeAheadSelect / TypeAheadSelect.js View on Github external
import {
  Typeahead as TypeAheadSelect,
  Highlighter,
  Menu,
  MenuItem,
  Token,
  TypeaheadMenu,
  asyncContainer,
  menuItemContainer,
  tokenContainer
} from 'react-bootstrap-typeahead';

TypeAheadSelect.Highlighter = Highlighter;
TypeAheadSelect.Menu = Menu;
TypeAheadSelect.MenuItem = MenuItem;
TypeAheadSelect.Token = Token;
TypeAheadSelect.TypeaheadMenu = TypeaheadMenu;
TypeAheadSelect.asyncContainer = asyncContainer;
TypeAheadSelect.menuItemContainer = menuItemContainer;
TypeAheadSelect.tokenContainer = tokenContainer;

export default TypeAheadSelect;