Skip to content

Instantly share code, notes, and snippets.

@ablamunits ablamunits/value-on-change-ex1.tsx Secret

Last active Jun 17, 2020
Embed
What would you like to do?
Value & onChange Post - l
// 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
You can’t perform that action at this time.