This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
RadioGroup allow supporting
prop to be able to use ReactNode
#623
Labels
Radio
Changes to the radio button component
Is your feature request related to a problem? Please describe.
In some quizzes on frontend we have a supporting image next to the question (example: https://www.theguardian.com/football/that-1980s-sports-blog/2020/jun/12/sports-quiz-football-in-the-1980s look at question 4).
The best way to render the supporting image would be as part of the
RadioGroup
component. However there is no way to have text followed by supporting media in the current design.Describe the solution you'd like
We could change
supporting
prop onRadioGroup
to allowtext | ReactNode
allowing us to have images or videos as supporting content.Describe alternatives you've considered
supportingMedia
as a name) toRadioGroup
RadioGroup
to allows other components other than Radio (not ideal)The text was updated successfully, but these errors were encountered: