FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/ant-design / AppProps

Interface: AppProps

Props for the root App shell.

App composes Ant Design feedback APIs, the FaasJS Ant Design config layer, shared modal and drawer state, and error handling into a single wrapper component. Use configProviderProps for Ant Design's own ConfigProvider; use faasConfigProviderProps for the FaasJS ConfigProvider exported by this package.

Properties

children

children: ReactNode

Descendant elements rendered inside all configured providers.

configProviderProps?

optional configProviderProps?: ConfigProviderProps

Props forwarded to Ant Design's ConfigProvider.

Omit this prop when you do not need Ant Design token, locale, direction, or component config overrides from this root shell.

See

Ant Design ConfigProvider API

errorBoundaryProps?

optional errorBoundaryProps?: Omit<ErrorBoundaryProps, "children">

Props forwarded to ErrorBoundary.

See

FaasJS Ant Design ErrorBoundary docs

faasConfigProviderProps?

optional faasConfigProviderProps?: false | Omit<ConfigProviderProps, "children">

Props forwarded to the FaasJS Ant Design ConfigProvider.

App still mounts the FaasJS config layer so descendants can read theme defaults. Pass false to use only the built-in defaults and App's default onError handler.

See

FaasJS Ant Design ConfigProvider docs