Config API
- Turnkey
 - Embed-SDK React
 - Embed-SDK Web
 
Provides API to config root fallback page in Appbuilder.
config : AppConfig[]
Accepts an object of AppConfig
AppConfig
| Key | Type | Description | 
|---|---|---|
| defaultRootFallback | React.ComponentType | Used to inject root fallback page | 
Use the example code given below showcasing how to config root page fallback in Appbuilder.
- turnkey
 - react-sdk
 - web-sdk
 
import { customize } from "customization-api";
import { customPage } from "./path-to-import-custom-page";
...
const customization = customize({
  config: {
    // default root fallback page
    // customPage will be displayed when user goes to root path('/') or when user end the call
    defaultRootFallback: customPage,
  },
})
export default customization;
import { customize } from "@appbuilder/react";
import { customPage } from "./path-to-import-custom-page";
...
const customization = customize({
  config: {
    // default root fallback
    // customPage will be displayed when user goes to root path('/') or when user end the call
    defaultRootFallback: customPage,
  },
})
export default customization;
import { customize } from "@appbuilder/web";
import { customPage } from "./path-to-import-custom-page";
...
const customization = customize({
   config: {
    // default root fallback
    // customPage will be displayed when user goes to root path('/') or when user end the call
    defaultRootFallback: customPage,
  },
})
export default customization;