【发布时间】:2019-11-25 21:08:49
【问题描述】:
在使用 react-admin 的 RadioButtonGroupInput 时,
RadioButtonGroupInput 的每个单选按钮总是垂直对齐。
我想水平对齐。
我尝试了很多方法,除了实现自定义组件。但没有任何效果。
<RadioButtonGroupInput source="category" choices={[
{ id: 'programming', name: 'Programming' },
{ id: 'lifestyle', name: 'Lifestyle' },
{ id: 'photography', name: 'Photography' },
]} />
垂直对齐。
【问题讨论】:
标签: layout alignment react-admin