mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
16 lines
320 B
TypeScript
16 lines
320 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
export const AngularRoot = React.forwardRef<HTMLDivElement, {}>((props, ref) => {
|
||
|
return (
|
||
|
<div
|
||
|
id="ngRoot"
|
||
|
ref={ref}
|
||
|
dangerouslySetInnerHTML={{
|
||
|
__html: '<grafana-app ng-cloak></grafana-app>',
|
||
|
}}
|
||
|
/>
|
||
|
);
|
||
|
});
|
||
|
|
||
|
AngularRoot.displayName = 'AngularRoot';
|