App
Application wrapper for some global usages.
When to use
- Provide reset styles based on
.ant-appelement. - You could use static methods of
message/notification/ModalfromuseAppwithout writingcontextHoldermanually.
Examples
API
App and App.useApp are exported from @ceebee/ui/client.
App
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
component | Config render element, if false will not create DOM node | ComponentType | false | div | 5.11.0 |
message | Global config for Message | MessageConfig | - | 5.3.0 |
notification | Global config for Notification | NotificationConfig | - | 5.3.0 |