{"version":"1.0","type":"rich","title":"Menus with react","description":"This example demonstrates a dropdown menu for selecting a pet, with the chosen value displayed immediately. Built with React 16.9, it uses the `useState` hook to manage the selected value and a custom `Dropdown` component that renders a native `<select>` element, mapping over an array of pet options to create `<option>` tags. The menu updates via the `onSelectedValueChange` callback, which sets the new state and logs it to the console. The interface is styled with large fonts for visibility.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e35e96b3a024943be427810f857563a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}