Documents / @faasjs/ant-design / App
Function: App()
App(
props):Element
Render the root provider shell for a FaasJS Ant Design application.
App initializes Ant Design message and notification APIs, exposes hook-managed modal and
drawer state through AppContext, and wraps descendants with ErrorBoundary.
Parameters
props
App shell props including providers and error handling options.
Returns
Element
Example
import { App } from '@faasjs/ant-design'
export default function Page() {
return (
<App configProviderProps={{}} errorBoundaryProps={{}} faasConfigProviderProps={{}}>
<div>content</div>
</App>
)
}