crypto-pro-js/examples/react/src/components/Signature.js

24 lines
434 B
JavaScript
Raw Normal View History

import React from 'react';
function Signature({signature, signatureStatus, signatureError}) {
return (
<>
<label htmlFor="signature">Подпись (PKCS7):</label>
<br/>
<textarea
id="signature"
cols="80"
rows="30"
value={signature}
placeholder={signatureStatus}
readOnly/>
<pre>{signatureError || null}</pre>
</>
)
}
export default Signature;