@@ -33,7 +33,7 @@ export function createComponentExtension<TProps extends {}>(options: {
|
||||
}) {
|
||||
return createExtension({
|
||||
kind: 'component',
|
||||
name: options.ref.id,
|
||||
name: options.name ?? options.ref.id,
|
||||
attachTo: { id: 'api:app/components', input: 'components' },
|
||||
disabled: options.disabled,
|
||||
output: [createComponentExtension.componentDataRef],
|
||||
|
||||
Reference in New Issue
Block a user