Skip to content

jaxxreal/tricky-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tricky-input

Created with CodeSandbox & CRA

Requirements

You need to implement <Input /> component with following restrictions:

  1. You can't use <input>, <textarea> and contenteditable attribute.
  2. You can't add event handlers on elements rendered by the <Input /> component: addEventListener, onChange, onClick and so on.

A minimal version of <Input /> should be able to move cursor, add and remove character. Any additions are welomce!