Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: button_group #306

Merged
merged 8 commits into from
Feb 26, 2024
Merged

docs: button_group #306

merged 8 commits into from
Feb 26, 2024

Conversation

ethanalvizo
Copy link
Contributor

@ethanalvizo ethanalvizo commented Feb 22, 2024

Add documentation for button_group spectrum element

Closes #296

@@ -103,6 +103,7 @@ class PressEvent(TypedDict):
]
ButtonStyle = Literal["fill", "outline"]
ElementTypes = Literal["div", "button", "a"]
Orientation = Literal["horizontal", "vertical"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would probably make more sense under layout.py, perhaps ButtonType, ButtonVariant, ButtonStyle, ElementTypes as well, but not really a big deal. They're just not events, they're more how the page is laid out visually.

@mofojed
Copy link
Member

mofojed commented Feb 23, 2024

You'll need to rebase this off main so the tests pass

@ethanalvizo ethanalvizo merged commit fee31f8 into main Feb 26, 2024
13 checks passed
@ethanalvizo ethanalvizo deleted the documentation branch February 26, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pydocs for button_group
2 participants