Skip to content

Commit 2982d76

Browse files
committed
Update widget registry syntax to use colons for consistency in field and widget types
1 parent f4981b3 commit 2982d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/prompts/development/component.prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ import { WelcomeCard } from './WelcomeCard';
206206

207207
export const widgetRegistry = {
208208
// Field Widgets (Maps to FieldType or Custom 'widget' property)
209-
'field.rating': RatingField,
209+
'field:rating': RatingField,
210210

211211
// Dashboard Widgets (Maps to widget 'type')
212-
'widget.welcome_card': WelcomeCard
212+
'widget:welcome_card': WelcomeCard
213213
};
214214
```
215215

0 commit comments

Comments
 (0)