UNPKG

@atlaskit/select

Version:

Select allows users to make a single selection or multiple selections from a list of options.

25 lines (24 loc) 773 B
/* menu-dialog.tsx generated by @compiled/babel-plugin v3.0.2 */ import "./menu-dialog.compiled.css"; import * as React from 'react'; import { ax, ix } from "@compiled/react/runtime"; import { forwardRef } from 'react'; import { layers } from '@atlaskit/theme/constants'; var menuDialogStyles = null; /** * __Menu dialog__ * Wrapper for PopupSelect component. */ export var MenuDialog = /*#__PURE__*/forwardRef(function (_ref, ref) { var children = _ref.children, id = _ref.id, style = _ref.style, testId = _ref.testId; return /*#__PURE__*/React.createElement("div", { ref: ref, style: style, id: id, "data-testid": testId && "".concat(testId, "--menu"), className: ax(["_2rko1mok _1pby16oo _bfhk1bhr _16qs130s"]) }, children); });