{"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 options. It shows how a controlled `select` element updates the application state via `useState` and a custom `Dropdown` component. The code uses React 16.9.0 and ReactDOM, with the dropdown’s `onChange` event triggering a state update through `onSelectedValueChange`. Options include dog, cat, hamster, parrot, spider, and goldfish, with the initial value set to hamster. Styling is applied via inline CSS in the HTML file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f0363b269d154409bc933fa62972e226?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}