mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* refactor(components): [config-provider] * Port useConfigProviders and tokens to components/. * refactor(hooks): [global-config] * Reimplement a few coupled hooks. * Remove hooks/globa-config and tokens/&. * Update import paths based on the changes. * chore: fix a failing test case
12 lines
356 B
TypeScript
12 lines
356 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
|
|
import ConfigProvider from './src/config-provider'
|
|
|
|
export const ElConfigProvider = withInstall(ConfigProvider)
|
|
export default ElConfigProvider
|
|
|
|
export * from './src/config-provider'
|
|
export * from './src/config-provider-props'
|
|
export * from './src/constants'
|
|
export * from './src/hooks/use-global-config'
|