mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Buttons styles and their docs, updating snapshots
This commit is contained in:
@@ -285,6 +285,7 @@ class ChangingThemeApp(App[None]):
|
||||
yield MarkdownViewer(EXAMPLE_MARKDOWN)
|
||||
|
||||
with Horizontal(id="buttons"):
|
||||
yield Button("Button 0")
|
||||
yield Button("Button 1", variant="primary")
|
||||
yield Button.success("Success 2")
|
||||
yield Button.error("Error 3")
|
||||
|
||||
Reference in New Issue
Block a user