@grafana/ui
Version:
Grafana Components Library
15 lines (12 loc) • 442 B
JavaScript
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