{"version":"1.0","type":"rich","title":"Fork of Menus with React","description":"This example demonstrates a pet-selection interface with React, showing a dropdown menu bound to a live state update. The app uses React’s `useState` hook to track the chosen value, initialized as “hamster,” and logs each selection to the console. The custom `Dropdown` component receives options, an id, the current value, and an `onSelectedValueChange` callback, rendering a styled `<select>` element. ReactDOM renders the `App` component into the `#root` div, with options listed as dog, cat, hamster, parrot, spider, and goldfish.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3f4fb937544549eea27c772223eb3abb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}