import * as React from "react"; import { ChevronRight, Search } from "baseui/icon"; import { StatefulMenu } from "baseui/menu"; import { ListItemLabel, MenuAdapter, ARTWORK_SIZES } from "baseui/list"; const ITEMS = Array.from({ length: 10 }, () => ({ title: "Jane Smith", subtitle: "Senior Engineering Manager", icon: Search, })); export default function Example() { return ( console.log("select")} overrides={{ List: { style: { height: "300px", width: "450px", }, }, Option: { props: { overrides: { ListItem: { component: React.forwardRef((props: any, ref) => ( } > {props.item.title} )), }, }, }, }, }} /> ); }