Tencent / Tencent/tdesign-react
[ConfigProvider] 控制全局 UI 方向
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
多语言切换中,阿拉伯国家的网站方向和我们有相反,是否能针对这点优化一下。
你建议的方案是什么
能否像 antd 一样,提供个全局参数,能够控制全局UI方向。
https://ant.design/components/config-provider-cn#config-provider-demo-direction
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the ConfigProvider API and the linked Ant Design direction example to determine the expected global parameter and affected UI behavior. Done should mean a configured direction consistently controls the library's UI direction, with coverage for the supported directions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, internationalization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100