'How to make a checkbox group behave like a radio button group in React.js

I want to make checkboxes that have been rendered via a loop behave like radio buttons. I do not want to use radio buttons and make them look like checkboxes. How do I achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source