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 / 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

AppProps

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>
  )
}