Skip to content

Commit 26b771b

Browse files
authored
Update README.md
1 parent 9b81513 commit 26b771b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# tricky-input
2-
Created with CodeSandbox
2+
3+
Created with [CodeSandbox](https://codesandbox.io/) & [CRA](https://github.com/facebook/create-react-app)
4+
5+
# Requirements
6+
7+
You need to implement `<Input />` component with following restrictions:
8+
9+
1. You can't use `<input>`, `<textarea>` and `contenteditable` attribute.
10+
2. You can't add event handlers on elements rendered by the `<Input />` component: `addEventListener`, `onChange`, `onClick` and so on.
11+
12+
A minimal version of `<Input />` should be able to move cursor, add and remove character. Any additions are welomce!

0 commit comments

Comments
 (0)