Moving previews to client side rendering for consistency

This commit is contained in:
Tom Moor
2017-05-25 00:07:41 -07:00
parent 3da1c06620
commit e791509dac
28 changed files with 74 additions and 55 deletions

View File

@@ -0,0 +1,13 @@
// @flow
import React from 'react';
import type { Props } from '../types';
export default function Code({ children, attributes }: Props) {
return (
<pre>
<code {...attributes}>
{children}
</code>
</pre>
);
}