element-plus/packages/config-provider/index.ts
jeremywu c8d65bf43d
feat(locale): locale-provider (#2662)
- 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
2021-07-25 15:26:00 +08:00

5 lines
154 B
TypeScript

import withInstall from '@element-plus/utils/with-install'
import { ConfigProvider } from './config-provider'
export default withInstall(ConfigProvider)