Sha256: 4f193bccc554cf9c90017971700492c8018dc1107fe28d5a8d04a4aa1af59a66
Contents?: true
Size: 485 Bytes
Versions: 1671
Compression:
Stored size: 485 Bytes
Contents
import React, { useState } from 'react' import TextInput from '../_text_input' const TextInputInline = (props) => { const [value, setValue] = useState('Inline Input') const handleValueChange = ({ target }) => { setValue(target.value) } return ( <div> <TextInput inline label="Hover Over Text Below" onChange={handleValueChange} value={value} {...props} /> </div> ) } export default TextInputInline
Version data entries
1,671 entries across 1,671 versions & 2 rubygems