fix: small component fixes
This commit is contained in:
parent
0b28e7f98a
commit
b153a23f25
7 changed files with 23 additions and 9 deletions
|
|
@ -100,6 +100,7 @@ const ECol = ({
|
|||
width,
|
||||
textAlign,
|
||||
suffix,
|
||||
SuffixComponent = TL2,
|
||||
view = it => it?.toString(),
|
||||
inputProps = {}
|
||||
} = config
|
||||
|
|
@ -137,7 +138,9 @@ const ECol = ({
|
|||
) : (
|
||||
values && <>{view(values[name])}</>
|
||||
)}
|
||||
{suffix && <TL2 className={classes.suffix}>{suffix}</TL2>}
|
||||
{suffix && (
|
||||
<SuffixComponent className={classes.suffix}>{suffix}</SuffixComponent>
|
||||
)}
|
||||
</Td>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue