Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f659056

Browse files
Merge pull request #1790 from iamfaran/feat/1615-component-type
[Feat]: #1615 Add component 'type' in show data modal
2 parents 7051a76 + 45673a8 commit f659056

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎client/packages/lowcoder/src/pages/editor/LeftContent.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,14 @@ export const LeftContent = (props: LeftContentProps) => {
446446
</span>
447447
{info?.show && data && (
448448
<Modal
449-
title={data.name}
449+
title={
450+
<div>
451+
<div>{data.name}</div>
452+
<div style={{ fontSize: '12px', color: '#666', fontWeight: 'normal', marginTop: '4px' }}>
453+
<strong>Type:</strong> {data.type}
454+
</div>
455+
</div>
456+
}
450457
open={info.show}
451458
onOk={() => setShowData([])}
452459
cancelButtonProps={{ style: { display: 'none' } }}

0 commit comments

Comments
 (0)