{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection menu built with React, where choosing an option from a dropdown updates the displayed selection. The app initializes with \"spider\" as the selected value, and the `Dropdown` component receives options, an ID, a change handler, and the current value via props. The `onChange` event on the `<select>` element triggers `onSelectedValueChange` with the new value, updating state through React's `useState` hook. The code uses React 16.9 and ReactDOM to render the interface, with the dropdown styling controlled by CSS in the HTML file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/037c77520d1c4543b9288e648e4f1fb1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}