UNPKG

@grafana/ui

Version:
14 lines (11 loc) 428 B
import { jsx } from 'react/jsx-runtime'; import { components } from 'react-select'; 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