mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
c8d65bf43d
- Add a component for providing configs - Add `use-locale` hooks into hooks for composable usage - Add `use-locale` for `config-provider` to allow user to provide locale config via `react-like` API - Add test cases against these new features
5 lines
154 B
TypeScript
5 lines
154 B
TypeScript
import withInstall from '@element-plus/utils/with-install'
|
|
import { ConfigProvider } from './config-provider'
|
|
|
|
export default withInstall(ConfigProvider)
|