Sha256: 64ff6a45eb3990724b50a8fd2acb4e7391514e63baa3b62ce9e52bcf309d1796
Contents?: true
Size: 485 Bytes
Versions: 1726
Compression:
Stored size: 485 Bytes
Contents
import React, { useState } from 'react' import TextInput from '../_text_input' const TextInputNoLabel = (props) => { const [email, setEmail] = useState('') const handleUpdateEmail = ({ target }) => { setEmail(target.value) } return ( <div> <TextInput onChange={handleUpdateEmail} placeholder="Enter email address" type="email" value={email} {...props} /> </div> ) } export default TextInputNoLabel
Version data entries
1,726 entries across 1,726 versions & 2 rubygems