1
私はMaterial-UIを使用しています。List/ListItemコンポーネントを使用してラジオボタンをグループ化したいと思います。この1と同様に
:入れ子リスト内のRadioButtonGroup
<RadioButtonGroup ...>
<List>
<ListItem
...
nestedItems={[
<RadioButton ... />,
<RadioButton ... />
]}
/>
<ListItem
...
nestedItems={[
<RadioButton ... />,
<RadioButton ... />
]}
/>
</List>
</RadioButtonGroup>
これをアーカイブする方法はありますか?
ありがとうございました。
この方法に問題がありましたか? –
はい、RadioButtonGroupはRadioButtonコンポーネントの配列を必要とし、配列のList/ListItemを受け入れません。私はそれをこのように働かせることができませんでした。 – Kai