feat: deprecate Theme.setup

pull/2044/head
Evan You 2 years ago
parent 74caccda43
commit 868a58670e

@ -11,6 +11,10 @@ export interface EnhanceAppContext {
export interface Theme {
Layout: Component
enhanceApp?: (ctx: EnhanceAppContext) => Awaitable<void>
/**
* @deprecated can be replaced by wrapping layout component
*/
setup?: () => void
/**

Loading…
Cancel
Save