{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates interactive dropdown menus built with React, allowing users to select a pet from a list of six options and displaying the chosen value in the browser console. It shows how React manages component state through the `useState` hook, with the selected value stored in the `App` component and passed down to a reusable `Dropdown` component. The dropdown uses a native HTML `<select>` element, and each option renders based on the provided data array. The code uses React 16.9 and ReactDOM to render the interface, with the selection change handled via the `onChange` event and `onSelectedValueChange` callback.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8c7db87284a64b45bb40798fc93dfa55?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}