Hex-only for H160/256/512 values (#5071)
This commit is contained in:
parent
571b2a7a9c
commit
be427824b1
@ -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}
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user