UNPKG

@grafana/ui

Version:
15 lines (12 loc) 442 B
import { jsx } from 'react/jsx-runtime'; import { components } from '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__ */ jsx(components.Input, { ...props, "data-testid": testId }); }; export { CustomInput }; //# sourceMappingURL=CustomInput.mjs.map