{"version":"1.0","type":"rich","title":"Fork of Menus with React","description":"This example demonstrates interactive dropdown menus built with React, allowing users to select a pet from a list of six options and displaying the chosen value in the console. The app uses the `useState` hook to manage the selected value, initialized to \"hamster\", and passes options and an event handler to a reusable `Dropdown` component. That component renders a native `<select>` element, mapping over the options array to create `<option>` elements and triggering the `onSelectedValueChange` callback on change. The code relies on React 16.9 and ReactDOM for rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/df62f28f326c452b8e100c92cce4e25e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}