ABI isFull only for row (#3840)

This commit is contained in:
Jaco Greeff 2020-10-10 12:24:19 +02:00 committed by GitHub
parent 05384d8846
commit e3cea78854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -91,6 +91,7 @@ function Code ({ className, code, onShowDeploy }: Props): React.ReactElement<Pro
<ABI
contractAbi={contractAbi}
isError={isAbiError}
isFull
isSupplied={isAbiSupplied}
isValid={isAbiValid}
onChange={onChangeAbi}

View File

@ -13,8 +13,9 @@ interface Props {
contractAbi?: Abi | null;
errorText?: string | null;
isContract?: boolean;
isError?: boolean;
isDisabled?: boolean;
isError?: boolean;
isFull?: boolean;
isRequired?: boolean;
isValid?: boolean;
isSupplied?: boolean;
@ -43,7 +44,7 @@ function renderMessages ({ contractAbi, onRemove, onSelectConstructor, withConst
}
function ABI (props: Props): React.ReactElement<Props> {
const { className, contractAbi, errorText, isContract = false, isDisabled, isError, isSupplied, isValid, onChange, withLabel } = props;
const { className, contractAbi, errorText, isContract = false, isDisabled, isError, isFull, isSupplied, isValid, onChange, withLabel } = props;
const { t } = useTranslation();
const help = isContract
@ -74,7 +75,7 @@ function ABI (props: Props): React.ReactElement<Props> {
help={help}
isDisabled={isDisabled}
isError={isError}
isFull
isFull={isFull}
label={label}
onChange={onChange}
placeholder={