Hex-only for H160/256/512 values (#5071)

This commit is contained in:
Jaco 2021-04-15 08:44:44 +03:00 committed by GitHub
parent 571b2a7a9c
commit be427824b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import BaseBytes from './BaseBytes';
function Hash160 ({ className = '', defaultValue, isDisabled, isError, label, name, onChange, onEnter, onEscape, type, withLabel }: Props): React.ReactElement<Props> {
return (
<BaseBytes
asHex
className={className}
defaultValue={defaultValue}
isDisabled={isDisabled}

View File

@ -10,6 +10,7 @@ import BaseBytes from './BaseBytes';
function Hash256 ({ className = '', defaultValue, isDisabled, isError, label, name, onChange, onEnter, onEscape, type, withLabel }: Props): React.ReactElement<Props> {
return (
<BaseBytes
asHex
className={className}
defaultValue={defaultValue}
isDisabled={isDisabled}

View File

@ -10,6 +10,7 @@ import BaseBytes from './BaseBytes';
function Hash512 ({ className = '', defaultValue, isDisabled, isError, label, name, onChange, onEnter, onEscape, type, withLabel }: Props): React.ReactElement<Props> {
return (
<BaseBytes
asHex
className={className}
defaultValue={defaultValue}
isDisabled={isDisabled}