Button 怎麼設置吸底?
s1410422008 opened this issue · comments
吸底是组合按钮的布局设计,不是组件的属性,你在实现的时候直接用样式就行了哈:
<div style={{ position: 'fixed', left: 0, right: 0, bottom:0, padding: 16 }}>
<Button block ... />
</div>
如果是滚动吸附也可以考虑使用 Sticky 样式~
Essential UI blocks for building mobile web apps.
s1410422008 opened this issue · comments
吸底是组合按钮的布局设计,不是组件的属性,你在实现的时候直接用样式就行了哈:
<div style={{ position: 'fixed', left: 0, right: 0, bottom:0, padding: 16 }}>
<Button block ... />
</div>
如果是滚动吸附也可以考虑使用 Sticky 样式~