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

Type Alias: useAppProps

useAppProps = object

Shared app services exposed by AppContext and useApp.

Properties

drawerProps

drawerProps: DrawerProps

Current props of the hook-managed drawer element.

message

message: MessageInstance

Ant Design message API instance created by the root App component.

modalProps

modalProps: ModalProps

Current props of the hook-managed modal element.

notification

notification: NotificationInstance

Ant Design notification API instance created by the root App component.

setDrawerProps

setDrawerProps: setDrawerProps

Setter that merges updates into the hook-managed drawer props.

setModalProps

setModalProps: setModalProps

Setter that merges updates into the hook-managed modal props.