Forms
Select value
Choose a single option with a string value, or use an array of strings for a controlled multiple select.
Formal Syntax & Structure
react syntaxreact
<select value={area} onChange={e => setArea(e.target.value)}>Working Example
Example Snippetreact
<option value="home">Home</option>