Skip to content

Commit 559b5ab

Browse files
committed
fix: fix labelDisplay placement in examples
1 parent 9263c94 commit 559b5ab

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/readme-generic-ui.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,18 @@ This example demonstrates various features including:
148148
},
149149
"uiSettings": {
150150
"displayAs": "secret",
151-
"withCopyButton": true
151+
"withCopyButton": true,
152+
"labelDisplay": {
153+
"backgroundColor": "#e3f2fd",
154+
"color": "#1976d2",
155+
"fontWeight": "bold",
156+
"textTransform": "uppercase"
157+
}
152158
}
153159
},
154160
{
155161
"label": "Type",
156162
"property": "spec.type",
157-
"labelDisplay": {
158-
"backgroundColor": "#e3f2fd",
159-
"color": "#1976d2",
160-
"fontWeight": "bold",
161-
"textTransform": "uppercase"
162-
}
163163
},
164164
{
165165
"label": "Contact Info",
@@ -190,9 +190,11 @@ This example demonstrates various features including:
190190
{
191191
"label": "Display Name",
192192
"property": "spec.displayName",
193-
"labelDisplay": {
194-
"color": "#2e7d32",
195-
"fontWeight": "600"
193+
"uiSettings": {
194+
"labelDisplay": {
195+
"color": "#2e7d32",
196+
"fontWeight": "600"
197+
}
196198
}
197199
},
198200
{

0 commit comments

Comments
 (0)