Skip to main content
100%

React Radio Buttons

✓ Published0🌍 Public
NNarottam Medhora
Last edited May 20, 2022
Created on May 20, 2022
Forked from React Starter

This example demonstrates a simple React user interface where two radio buttons, labeled Size and Count, toggle a selection. The interface uses React’s `useState` hook to track the currently chosen value, which is logged to the console on change. The `Radio` component receives an `onSelectedValueChange` callback prop, invoked with the selected `event.target.value` upon input change. Built with React 16.13.1 and rendered via `ReactDOM`, it showcases controlled component state management without any external data or visualization libraries.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes