Last active
April 18, 2023 23:05
-
-
Save naturalwarren/a646e6c4ffccc39b4e066b6023fc66e9 to your computer and use it in GitHub Desktop.
SDUI DataRow Type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DataRow(UIComponent): | |
title: str | |
subtitle: str | |
layout: Layout = Layout.HORIZONTAL | |
@classmethod | |
def component_type(cls) -> ComponentType: | |
return ComponentType.DATA_ROW_STACKED | |
class Layout(str, Enum): | |
VERTICAL = “VERTICAL” | |
HORIZONTAL = “HORIZONTAL” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment