mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 17:14:59 +03:00
24 lines
434 B
JavaScript
24 lines
434 B
JavaScript
|
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;
|