Skip to content

Commit

Permalink
Update Position documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise committed Apr 8, 2024
1 parent ebdde76 commit 38b73f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ VBML
defines a language for composing static and dynamic messages.

.. automodule:: vesta.vbml
:members: Component, Props, Style
:members: Component, Position, Props, Style
:member-order: groupwise
4 changes: 2 additions & 2 deletions src/vesta/vbml.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
class Position(TypedDict):
"""A Position defines an absolute position on a board."""

x: int
y: int
x: int #: X coordinate
y: int #: Y coordinate


class Style(TypedDict, total=False):
Expand Down

0 comments on commit 38b73f7

Please sign in to comment.