MCPcopy
hub / github.com/JedWatson/react-select / MenuList

Function MenuList

packages/react-select/src/components/Menu.tsx:437–457  ·  view source on GitHub ↗
(
  props: MenuListProps<Option, IsMulti, Group>
)

Source from the content-addressed store, hash-verified

435 }),
436});
437export const MenuList = <
438 Option,
439 IsMulti extends boolean,
440 Group extends GroupBase<Option>
441>(
442 props: MenuListProps<Option, IsMulti, Group>
443) => {
444 const { children, innerProps, innerRef, isMulti } = props;
445 return (
446 <div
447 {...getStyleProps(props, 'menuList', {
448 'menu-list': true,
449 'menu-list--is-multi': isMulti,
450 })}
451 ref={innerRef}
452 {...innerProps}
453 >
454 {children}
455 </div>
456 );
457};
458
459// ==============================
460// Menu Notices

Callers

nothing calls this directly

Calls 1

getStylePropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…