fix(page-header): theme not exported

This commit is contained in:
07akioni 2021-04-05 18:24:07 +08:00
parent d680890a80
commit d53d2d9a20
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,7 @@ import { treeDark } from '../tree/styles'
import { uploadDark } from '../upload/styles'
import { selectDark } from '../select/styles'
import type { BuiltInGlobalTheme } from './interface'
import { pageHeaderDark } from '../page-header/styles'
export const darkTheme: BuiltInGlobalTheme = {
common: commonDark,
@ -108,6 +109,7 @@ export const darkTheme: BuiltInGlobalTheme = {
Message: messageDark,
Modal: modalDark,
Notification: notificationDark,
PageHeader: pageHeaderDark,
Pagination: paginationDark,
Popconfirm: popconfirmDark,
Popover: popoverDark,

View File

@ -68,6 +68,7 @@ import { treeLight } from '../tree/styles'
import { uploadLight } from '../upload/styles'
import { selectLight } from '../select/styles'
import type { BuiltInGlobalTheme } from './interface'
import { pageHeaderLight } from '../page-header/styles'
export const lightTheme: BuiltInGlobalTheme = {
common: commonLight,
@ -110,6 +111,7 @@ export const lightTheme: BuiltInGlobalTheme = {
Message: messageLight,
Modal: modalLight,
Notification: notificationLight,
PageHeader: pageHeaderLight,
Pagination: paginationLight,
Popconfirm: popconfirmLight,
Popover: popoverLight,