Skip to content

Instantly share code, notes, and snippets.

@naturalwarren
Last active April 18, 2023 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naturalwarren/a646e6c4ffccc39b4e066b6023fc66e9 to your computer and use it in GitHub Desktop.
Save naturalwarren/a646e6c4ffccc39b4e066b6023fc66e9 to your computer and use it in GitHub Desktop.
SDUI DataRow Type
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