{"version":"1.0","type":"rich","title":"Menues with React","description":"This example demonstrates a simple pet-selection dropdown menu built with React. It shows how a controlled component manages user input through the `useState` hook, displaying the selected value in the console. The `Dropdown` component receives an array of pet options and a callback to update the selection state. The code uses React 16.9, ReactDOM, and the `Dropdown` component with a native HTML `<select>` element, rendering options dynamically from a hardcoded list of pets.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f8b041917c4e4f2f9ff8e67ad5bbf132?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}