{"version":"1.0","type":"rich","title":"SelectDropdown","description":"This example shows a React dropdown menu for selecting a pet, with the current choice logged to the console. It uses the `useState` hook to manage the selected value and a reusable `Dropdown` component that renders HTML `<select>` and `<option>` elements. The `onChange` event handler updates the state via `onSelectedValueChange`, while selected options are marked with the `selected` attribute. The app is rendered with `ReactDOM.render` into a root div.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fe924e4b153640fda491ce8602126719?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}