{"version":"1.0","type":"rich","title":"Fork of Menus with React","description":"This example demonstrates a React-based interactive dropdown menu for selecting a pet from a list of six options. The user’s selection is managed through the `useState` hook, with each choice logged to the console. The `Dropdown` component is a reusable function that renders a native `<select>` element, mapping over the options array to produce `<option>` tags. The app uses React 16.9.0 and ReactDOM, with the selected value displayed via `selectedValue` and updated through `onSelectedValueChange`. The default selection is set to hamster.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/228516066472435e9b4d2974ee5ef3fd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}