Skip to content

Commit

Permalink
add fallback example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Oct 30, 2024
1 parent f420595 commit 3e83cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export interface IntegrationOptions {
/**
* (Optional) Fallback component name.
* If provided, this component will be used as a fallback. This fallback component will be used when the requested component is not found and only in live editing mode.
* An example for a fallback component could be `BlockNotFound` where the flyo is placed in `{componentsDir}/BlockNotFound.astro`.
*/
fallbackComponent?: string;

Expand Down

0 comments on commit 3e83cd4

Please sign in to comment.