mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 11:44:22 +08:00

* ux: Make new tabs responsive #10082 * ux: Add possibility to manipulate url in angular router outside of angular - and use it in the responsive navigation #10082
8 lines
257 B
TypeScript
8 lines
257 B
TypeScript
import coreModule from 'app/core/core_module';
|
|
|
|
export function react2AngularDirective(name: string, component: any, options: any) {
|
|
coreModule.directive(name, ['reactDirective', reactDirective => {
|
|
return reactDirective(component, options);
|
|
}]);
|
|
}
|