Skip to content

Instantly share code, notes, and snippets.

@heymartinadams
Last active October 31, 2020 17:59
Show Gist options
  • Save heymartinadams/66a10433768f4dd648b1f845775b9463 to your computer and use it in GitHub Desktop.
Save heymartinadams/66a10433768f4dd648b1f845775b9463 to your computer and use it in GitHub Desktop.
Medium essay
<Input
autocomplete='off'
disabled={false}
autofocus={true}
inputRef={null}
name='myInput'
onBlur={x => console.log(x)}
onChange={x => console.log(x)}
onKeyDown={x => console.log(x)}
placeholder='Please enter a value'
style={{ width: '100%' }}
tabindex='-1'
type='text'
value={value}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment