Search
addComponentInstance
addComponentInstance
Add a component instance by module URL.
framer.addComponentInstance({ url, attributes, parentId, }: AddComponentInstanceOptions): Promise<ComponentInstanceNode
Parameters
{ url, attributes, parentId, }:AddComponentInstanceOptions
Returns
Promise<ComponentInstanceNode>– The newly created component instance node.