CodeFileExport

Beta
Beta

CodeFileExport

CodeFileExport

Union type representing exports from a code file.

A discriminated union type representing exports from a code file. The type property determines the shape:

  • If type is "component", this export represents a Framer component and includes an `insertURL` for insertion.

  • If type is "override", this export represents a property override.


Methods & Properties

URL for inserting the component

URL for inserting the component

Whether this is a default export

Whether this is a default export

Beta

Export name

Beta

Export name

Beta

Discriminator

Beta

Discriminator