Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新的组件工具 New Compoent Utils #55

Merged
merged 6 commits into from
Nov 30, 2020
Merged

新的组件工具 New Compoent Utils #55

merged 6 commits into from
Nov 30, 2020

Conversation

shincurry
Copy link
Member

@shincurry shincurry commented Nov 28, 2020

  • UUIComponentProxy 用于创建自定义样式化后的组件
  • UUIProvider UUI 全局 Provider
    • UUIProviderProps.customize 定义全局组件样式
    • UUIProviderProps.options 定义全局组件 prefix 和 separator

  • UUIComponentProxy creating custom-styled component
  • UUIProvider UUI global Provider
    • UUIProviderProps.customize define global style of UUI components
    • UUIProviderProps.options define global prefix and separator options of UUI components

实验性质的功能

@shincurry shincurry added the feature New feature label Nov 28, 2020
@shincurry shincurry linked an issue Nov 28, 2020 that may be closed by this pull request
@github-actions
Copy link

Code coverage

Filename Statements Branches Functions Lines
src/core/index.ts 100% 100% 100% 100%
src/core/UUIComponent.tsx 100% 100% 100% 100%
src/core/modules/UUICustomizeNode.tsx 100% 100% 100% 100%
src/core/utils/mergeRefs.ts 100% 100% 100% 100%
src/core/utils/mergeCustomize.tsx 100% 100% 100% 100%
src/core/utils/compileProps.ts 100% 100% 100% 100%
src/UUIProvider.tsx 100% 100% 100% 100%
src/components/UUIComponentNames.ts 100% 100% 100% 100%
src/core/utils/mergeProviderCustomize.ts 100% 100% 100% 100%
src/core/UUIComponentProxy.tsx 100% 100% 100% 100%

@shincurry shincurry marked this pull request as ready for review November 30, 2020 15:20
@shincurry shincurry merged commit fba6f5a into master Nov 30, 2020
@shincurry shincurry deleted the feature/core branch January 13, 2021 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

是否有全局配置组件自定义样式的实现?
1 participant