UNPKG

@grafana/ui

Version:
19 lines (14 loc) 561 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var jsxRuntime = require('react/jsx-runtime'); var ReactSelect = require('react-select'); "use strict"; const CustomInput = (props) => { let testId; if ("data-testid" in props.selectProps && props.selectProps["data-testid"]) { testId = props.selectProps["data-testid"] + "-input"; } return /* @__PURE__ */ jsxRuntime.jsx(ReactSelect.components.Input, { ...props, "data-testid": testId }); }; exports.CustomInput = CustomInput; //# sourceMappingURL=CustomInput.cjs.map