( props: MenuListProps<Option, IsMulti, Group> )
| 435 | }), |
| 436 | }); |
| 437 | export 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…