summaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/typescript/widget.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/guide/typescript/widget.md b/docs/guide/typescript/widget.md
index 43c8721..7e57c01 100644
--- a/docs/guide/typescript/widget.md
+++ b/docs/guide/typescript/widget.md
@@ -405,6 +405,8 @@ function MyWidget() {
}
// with `hook`
+import { hook } from "astal/gtk4"
+
function MyWidget() {
return <box
setup={(self) => {