Skip to content

Commit 34dd5c3

Browse files
Merge pull request #230 from preactjs/docs/clarify-input-example
2 parents d90ddae + 9ccc253 commit 34dd5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/preact/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import { signal } from "@preact/signals";
101101
const inputValue = signal("foobar");
102102

103103
function Person() {
104-
return <input value={inputValue} />;
104+
return <input value={inputValue} onInput={...} />;
105105
}
106106
```
107107

0 commit comments

Comments
 (0)