Add website to mono repo, update packages to align with existing sub-packages, use new subscribeAsync 0x.js method

This commit is contained in:
Fabio Berger
2017-11-21 14:03:08 -06:00
parent 037f466e1f
commit 3660ba28d7
292 changed files with 26118 additions and 100 deletions

View File

@@ -0,0 +1,20 @@
import * as _ from 'lodash';
import * as React from 'react';
import * as HighLight from 'react-highlight';
interface MarkdownCodeBlockProps {
literal: string;
language: string;
}
export function MarkdownCodeBlock(props: MarkdownCodeBlockProps) {
return (
<span style={{fontSize: 16}}>
<HighLight
className={props.language || 'js'}
>
{props.literal}
</HighLight>
</span>
);
}