MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / getItemType

Method getItemType

src/Dropdown.js:264–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 }
263
264 getItemType() {
265 if (this.props.menuRole === 'listbox') {
266 return 'option';
267 }
268 return 'menuitem';
269 }
270
271 getMenuItems() {
272 // In a real menu with a child DropdownMenu, `this.getMenu()` should never

Callers 1

getMenuItemsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected