Output className, remove extra } (#4132)
This commit is contained in:
parent
69c6b2c9d9
commit
a74ff3ccad
@ -36,7 +36,7 @@ function Output ({ children, className = '', help, isError, isFull, isHidden, is
|
||||
labelExtra={labelExtra}
|
||||
withLabel={withLabel}
|
||||
>
|
||||
<div className={`ui--output}${isError ? ' error' : ''}${isMonospace ? ' monospace' : ''}`}>
|
||||
<div className={`ui--output${isError ? ' error' : ''}${isMonospace ? ' monospace' : ''}`}>
|
||||
{isTrimmed && value && (value.length > 256)
|
||||
? `${value.substr(0, 96)}…${value.substr(-96)}`
|
||||
: value
|
||||
|
||||
Loading…
Reference in New Issue
Block a user