Browse Source

Add Todo notes and better flow types

main
tricinel 7 years ago
parent
commit
ab5815b11a
  1. 10
      src/components/MarkdownPage/MarkdownPage.js

10
src/components/MarkdownPage/MarkdownPage.js

@ -19,15 +19,17 @@ import toCommaSeparatedList from 'utils/toCommaSeparatedList';
import {sharedStyles} from 'theme';
import createOgUrl from 'utils/createOgUrl';
import type {Node} from 'types';
type Props = {
authors: Array<string>,
createLink: Function,
createLink: Function, // TODO: Add better flow type once we Flow-type createLink
date?: string,
enableScrollSync?: boolean,
ogDescription: string,
location: Object,
markdownRemark: Object,
sectionList: Array<Object>,
location: Location,
markdownRemark: Node,
sectionList: Array<Object>, // TODO: Add better flow type once we have the Section component
titlePostfix: string,
};

Loading…
Cancel
Save