UI Component Dependencies
List of resources to make available for import in the UI Component property Source.
Field Description | Field Name |
Name. Name to use in Source import statements. | name |
Link. Link to the target resource. Can be a URL, or Media/Content Library link. | link |
Referencing Dependencies in Source
The Name property of a dependency can be used in an import statement in the Source property, in order to give access to the resource indicated by the Link.
In the case of a dependency with Name 'testModule'
and a Link that references a resource containing a React module TestModule
, the import statement in Source would be: import TestModule from ‘testModule';
.
Was this page helpful?