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

31 lines
641 B
TypeScript
Raw Normal View History

import "sass/repo-page/repo-page.scss";
2016-10-31 16:21:45 -04:00
import repoHeader from "./header";
import repoSidebar from "./sidebar";
2016-11-01 14:42:45 -04:00
import repoBody from "./body";
2016-10-31 16:21:45 -04:00
2017-01-19 14:54:00 -08:00
rpHeaderDirective.$inject = [
'reactDirective',
];
export function rpHeaderDirective(reactDirective) {
return reactDirective(repoHeader);
}
2016-10-31 16:21:45 -04:00
2017-01-19 14:54:00 -08:00
rpSidebarDirective.$inject = [
'reactDirective',
];
2016-11-01 02:51:18 -04:00
2017-01-19 14:54:00 -08:00
export function rpSidebarDirective(reactDirective) {
return reactDirective(repoSidebar);
2016-11-01 02:51:18 -04:00
}
2016-10-31 16:21:45 -04:00
2017-01-19 14:54:00 -08:00
rpBodyDirective.$inject = [
'reactDirective',
'ApiService',
];
export function rpBodyDirective(reactDirective, ApiService) {
return reactDirective(repoBody, undefined, {}, {api: ApiService});
}