add extension points to

- redirect the repo route
- add a repo top level navigation
This commit is contained in:
Mohamed Karray
2019-03-06 17:24:50 +01:00
parent 186738ad14
commit ab79b94bc0
3 changed files with 37 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
//@flow
import React from "react";
type Props = {
content: string
};
class MarkdownView extends React.Component<Props> {
render() {
const {content } = this.props;
return (
<div>
{content}
</div>
);
}
}
export default MarkdownView;

View File

@@ -11,4 +11,5 @@ export { default as Textarea } from "./Textarea.js";
export { default as PasswordConfirmation } from "./PasswordConfirmation.js";
export { default as LabelWithHelpIcon } from "./LabelWithHelpIcon.js";
export { default as DropDown } from "./DropDown.js";
export { default as MarkdownView } from "./MarkdownView.js";