HenryNguyen5 f39787152e Fix Miscellaneous Types (#635)
* Add repo wide prettier command to prepush

* Make config file explict, remove formatAll to prepush

* Fix react router typings

* Add more typings

* Fix event typings,  fix transition children
2017-12-19 16:46:34 -06:00

11 lines
170 B
TypeScript

import React from 'react';
import './Code.scss';
const Code = ({ children }: React.Props<{}>) => (
<pre>
<code>{children}</code>
</pre>
);
export default Code;