@grafana/runtime
Version:
Grafana Runtime Library
19 lines (16 loc) • 531 B
JavaScript
import { jsx } from 'react/jsx-runtime';
let FolderPickerComponent;
function setFolderPicker(component) {
FolderPickerComponent = component;
}
function FolderPicker(props) {
if (FolderPickerComponent) {
return /* @__PURE__ */ jsx(FolderPickerComponent, { ...props });
}
if (process.env.NODE_ENV !== "production") {
return /* @__PURE__ */ jsx("div", { children: "@grafana/runtime FolderPicker is not set" });
}
return null;
}
export { FolderPicker, setFolderPicker };
//# sourceMappingURL=FolderPicker.mjs.map