@teravn/onui
Version:
The React UI component library is based on MUI
34 lines (33 loc) • 1.02 kB
TypeScript
import { OwnerStateThemeType } from '.';
declare const Menu: () => {
MuiMenu: {
defaultProps: {
container: () => HTMLElement | null;
};
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
'& .MuiMenu-list': {
backgroundColor: string;
borderRadius: number;
padding: string;
};
'& .MuiMenu-paper': {
boxShadow: string;
borderRadius: number;
border: string;
};
'& .MuiMenuItem-root': {
borderRadius: number;
margin: string;
padding: string;
transition: string;
':hover': {
backgroundColor: string;
color: string;
};
};
};
};
};
};
export default Menu;