UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

17 lines (16 loc) 541 B
import * as React from 'react'; import Menu, { menuClasses } from '@mui/material/Menu'; import { styled } from '@mui/material/styles'; const MenuStyled = styled(Menu)(({ theme }) => ({ [`& .${menuClasses.paper}`]: { backgroundColor: theme.palette.background.paper, color: theme.palette.text.primary, }, [`& .${menuClasses.list}`]: { padding: theme.spacing(0.5, 0) } })); const MdMenu = (props) => { return (React.createElement(MenuStyled, { ...props })); }; export default MdMenu;