fix: textarea support text props
This commit is contained in:
parent
ab530335b4
commit
65deb92483
@ -42,7 +42,7 @@ ReadPretty.TextArea = (props) => {
|
||||
ellipsis={props.ellipsis}
|
||||
popoverContent={autop ? <div dangerouslySetInnerHTML={{ __html: values }} /> : value}
|
||||
>
|
||||
{value}
|
||||
{props.text ?? value}
|
||||
</EllipsisWithTooltip>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user