mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
16 lines
308 B
TypeScript
16 lines
308 B
TypeScript
import React from 'react';
|
|
|
|
interface Props {
|
|
code: string;
|
|
}
|
|
|
|
const ContractVerificationFormCodeSnippet = ({ code }: Props) => {
|
|
return (
|
|
<code className="whitespace-pre-wrap break-all p-2 rounded">
|
|
{ code }
|
|
</code>
|
|
);
|
|
};
|
|
|
|
export default React.memo(ContractVerificationFormCodeSnippet);
|