diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/guide/typescript/widget.md | 2 |
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) => { |