MyCrypto/common/components/ui/Code.tsx

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;