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?
optionalconfigProviderProps?: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
errorBoundaryProps?
optionalerrorBoundaryProps?:Omit<ErrorBoundaryProps,"children">
Props forwarded to ErrorBoundary.
See
FaasJS Ant Design ErrorBoundary docs
faasConfigProviderProps?
optionalfaasConfigProviderProps?: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.