diff options
Diffstat (limited to 'packages/react-docs/src/components/comment.tsx')
-rw-r--r-- | packages/react-docs/src/components/comment.tsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/react-docs/src/components/comment.tsx b/packages/react-docs/src/components/comment.tsx deleted file mode 100644 index 4d34f711e..000000000 --- a/packages/react-docs/src/components/comment.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { colors, MarkdownCodeBlock } from '@0x/react-shared'; -import * as React from 'react'; -import * as ReactMarkdown from 'react-markdown'; - -export interface CommentProps { - comment: string; - className?: string; -} - -const defaultProps = { - className: '', -}; - -export const Comment: React.SFC<CommentProps> = (props: CommentProps) => { - return ( - <div className={`${props.className} comment`} style={{ color: colors.greyTheme }}> - <ReactMarkdown source={props.comment} renderers={{ code: MarkdownCodeBlock }} /> - </div> - ); -}; - -Comment.defaultProps = defaultProps; |