{"version":"1.0","type":"rich","title":"Menus with React","description":"A React application demonstrates a controlled dropdown menu for selecting a pet, with the current choice logged to the console. The app uses React's `useState` hook to manage the selected value and renders a reusable `Dropdown` component, which maps over an array of pet options to populate a native HTML `<select>` element. The component receives `options`, an `id`, `selectedValue`, and an `onSelectedValueChange` callback, handling change events to update state. ReactDOM renders the app into a root div, with styling applied through inline CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f27f8abd623d4764b4b6a926188cd3cf?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}