-
-
Save ablamunits/df864f0af2f0678c79e865014bc2ff87 to your computer and use it in GitHub Desktop.
Value & onChange Post - l
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// An InputWithLabels component used in a ShoppingForm | |
function ShoppingForm() { | |
const [shoppingItems] = useState(['Apples', 'Cookies']); | |
return ( | |
<InputWithLabels | |
value={shoppingItems} | |
/> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment