This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/components/pages/repo-page/main.tsx

22 lines
No EOL
635 B
TypeScript

import "sass/repo-page/repo-page.scss";
import * as angular from "angular";
import repoHeader from "./header";
import repoSidebar from "./sidebar";
import repoBody from "./body";
export function rpDirectives(){
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
return reactDirective(repoHeader);
});
angular.module('quayPages').directive('rpSidebar', function(reactDirective) {
return reactDirective(repoSidebar);
});
angular.module('quayPages').directive('rpBody', function(reactDirective, ApiService) {
return reactDirective(repoBody, undefined, {}, {api: ApiService});
});
}