Menu com React
✓ Published0🌍 Public
This example demonstrates a simple interactive dropdown menu for selecting a pet. The interface displays a label and a dropdown list containing six animal options, with the initial value set to "hamster." As the user changes the selection, the current value is logged to the console. Built with React, the application uses the `useState` hook to manage the selected value and a custom `Dropdown` component to render the HTML select element, leveraging React DOM for rendering.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed