Skip to content

Commit

Permalink
docs: add missing imports for layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Nov 25, 2024
1 parent 1ae01cb commit 3867b52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/docs/configuration/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ i.e. all the text inputs like `description` or `due`

```py
from dooit.ui.api.widgets import TodoWidget, WorkspaceWidget
from dooit.ui.api import DooitAPI, subscribe
from dooit.ui.api.events import Startup

@subscribe(Startup)
def layout_setup(api: DooitAPI, _):
Expand Down

0 comments on commit 3867b52

Please sign in to comment.