Skip to content

Instantly share code, notes, and snippets.

@heymartinadams
Last active April 15, 2021 23:51
Show Gist options
  • Save heymartinadams/701c5e798706b2656814d72ca27c9fe3 to your computer and use it in GitHub Desktop.
Save heymartinadams/701c5e798706b2656814d72ca27c9fe3 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
}}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment