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/app.tsx
2016-10-31 13:18:18 -04:00

19 lines
627 B
TypeScript

import * as React from "react";
import * as angular from "angular";
import repoHeader from "./directives/components/publicRepo/header";
import repoSidebar from "./directives/components/publicRepo/sidebar";
import repoMain from "./directives/components/publicRepo/main";
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
return reactDirective(repoHeader);
});
angular.module('quayPages').directive('rpSidebar', function(reactDirective) {
return reactDirective(repoSidebar);
});
angular.module('quayPages').directive('rpMain', function(reactDirective) {
return reactDirective(repoMain);
});