Skip to content

Commit 1e64300

Browse files
committed
docs: fix example of onOutside
1 parent a3bc445 commit 1e64300

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ the user clicking the outside of it.
117117
import { type Context, register } from "@kt3k/cell"
118118

119119
function OutsideClickComponent({ onOutside }: Context) {
120-
on.outside("click", ({ e }) => {
120+
onOutside("click", ({ e }) => {
121121
console.log("The outside of my-component has been clicked!")
122122
})
123123
}

0 commit comments

Comments
 (0)