Fix import names
This commit is contained in:
parent
8d233ca493
commit
71dc3ff633
3 changed files with 6 additions and 6 deletions
|
@ -2,7 +2,7 @@ import * as angular from "angular";
|
|||
|
||||
import repoHeader from "./header";
|
||||
import repoSidebar from "./sidebar";
|
||||
import repoMain from "./body";
|
||||
import repoBody from "./body";
|
||||
|
||||
export function rpDirectives(){
|
||||
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
|
||||
|
@ -13,8 +13,8 @@ export function rpDirectives(){
|
|||
return reactDirective(repoSidebar);
|
||||
});
|
||||
|
||||
angular.module('quayPages').directive('rpMain', function(reactDirective) {
|
||||
return reactDirective(repoMain);
|
||||
angular.module('quayPages').directive('rpBody', function(reactDirective) {
|
||||
return reactDirective(repoBody);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import * as React from "react";
|
||||
|
||||
class repo_sidebar extends React.Component<{}, {}> {
|
||||
class repoSidebar extends React.Component<{}, {}> {
|
||||
render () {
|
||||
return <div> The component for the sidebar</div>;
|
||||
}
|
||||
}
|
||||
|
||||
export default repo_sidebar;
|
||||
export default repoSidebar;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<!-- React Components -->
|
||||
<rp-header></rp-header>
|
||||
<rp-sidebar></rp-sidebar>
|
||||
<rp-main></rp-main>
|
||||
<rp-body></rp-body>
|
||||
</div>
|
||||
<!-- Old Repo Page -->
|
||||
<div ng-if="!newRepoExperiment">
|
||||
|
|
Reference in a new issue