mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* fix some anys * some canvas/geomap improvements * some more panel type fixes * just omit the type in TagOption
19 lines
436 B
TypeScript
19 lines
436 B
TypeScript
import React from 'react';
|
|
|
|
import { ModalRoot, ModalsProvider } from '@grafana/ui';
|
|
|
|
import { connectWithProvider } from '../../utils/connectWithReduxStore';
|
|
|
|
/**
|
|
* Component that enables rendering React modals from Angular
|
|
*/
|
|
export const AngularModalProxy = connectWithProvider((props: Record<string, unknown>) => {
|
|
return (
|
|
<>
|
|
<ModalsProvider {...props}>
|
|
<ModalRoot />
|
|
</ModalsProvider>
|
|
</>
|
|
);
|
|
});
|