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

AtFloatLayout 组件希望增加新的属性 #327

Closed
markgzl opened this issue Jan 9, 2019 · 4 comments
Closed

AtFloatLayout 组件希望增加新的属性 #327

markgzl opened this issue Jan 9, 2019 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@markgzl
Copy link

markgzl commented Jan 9, 2019

1.希望当 title 为空的时候,title 行的背景色也不要出现,目前 title 为空,title 的 标签依旧存在
2.希望该组件可以支持传入一个组件,类似于一个 slot
3.希望该组件可以支持样式覆盖

@markgzl
Copy link
Author

markgzl commented Jan 9, 2019

看了源码,里面从 props 接收一个 className, 借助这个实现了样式覆盖
image

@SzHeJason SzHeJason self-assigned this Jan 9, 2019
@SzHeJason SzHeJason added bug Something isn't working enhancement New feature or request labels Jan 9, 2019
@SzHeJason
Copy link
Collaborator

@GuoZilin 第二个 slot 我们会统一安排时间去调整组件

@DreamPWJ
Copy link

希望添加设置高度的属性和title 背景颜色已经文本是否居中等属性,非常常用@SzHeJason

@koppthe
Copy link
Collaborator

koppthe commented Aug 9, 2019

@DreamPWJ 样式的问题可以看看「自定义主题」的文档

@koppthe koppthe closed this as completed Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants