Commit Graph

2 Commits

Author SHA1 Message Date
jeremywu
c42f905c10
refactor: i18n implementation (#2670) 2021-07-26 00:24:30 +08:00
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