import "sass/repo-page/repo-page.scss";
import repoHeader from "./header";
import repoSidebar from "./sidebar";
import repoBody from "./body";

rpHeaderDirective.$inject = [
  'reactDirective',
];

export function rpHeaderDirective(reactDirective) {
  return reactDirective(repoHeader);
}


rpSidebarDirective.$inject = [
  'reactDirective',
];

export function rpSidebarDirective(reactDirective) {
  return reactDirective(repoSidebar);
}


rpBodyDirective.$inject = [
  'reactDirective',
  'ApiService',
];

export function rpBodyDirective(reactDirective, ApiService) {
  return reactDirective(repoBody, undefined, {}, {api: ApiService});
}