mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06: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);
|
|
}]);
|
|
}
|