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

Function Menu

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

Source from the content-addressed store, hash-verified

374};
375
376const Menu = <Option, IsMulti extends boolean, Group extends GroupBase<Option>>(
377 props: MenuProps<Option, IsMulti, Group>
378) => {
379 const { children, innerRef, innerProps } = props;
380 return (
381 <div
382 {...getStyleProps(props, 'menu', { menu: true })}
383 ref={innerRef}
384 {...innerProps}
385 >
386 {children}
387 </div>
388 );
389};
390
391export default Menu;
392

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…