UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

12 lines 618 B
import { __assign, __rest } from "tslib"; import React from 'react'; import { Menu as MuiDropDown } from '@mui/material'; import { styled } from '@mui/material/styles'; var DropDownStyled = styled(MuiDropDown)({}); export var DropDown = function (_a) { var open = _a.open, children = _a.children, props = __rest(_a, ["open", "children"]); return (React.createElement(DropDownStyled, __assign({ open: true, id: "basic-menu", anchorEl: props.anchorEl, onClose: props.onClose, MenuListProps: { 'aria-labelledby': 'basic-button', } }, props), children)); }; //# sourceMappingURL=DropDown.js.map