You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: zt_backend/models/components/list.py
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -65,10 +65,9 @@ class ListItemTitle(ZTComponent):
65
65
[],
66
66
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of title",
67
67
)
68
-
tag: str=Field("div", description="specify a custom tag used on root element")
69
68
70
69
71
-
# TODO: debug opacity
70
+
# TODO: debug opacity prop(not working)
72
71
classListItemSubtitle(ZTComponent):
73
72
"""List Item SubtitleTitle is used to specify the Subtitle of the List Item. Use Text component to provide the text details of the subtitle and pass it to the child component of List Item"""
74
73
@@ -80,10 +79,9 @@ class ListItemSubtitle(ZTComponent):
80
79
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of Subtitle",
81
80
)
82
81
opacity: Union[int, str] =Field("50%", description="opacity for subtitle")
83
-
tag: str=Field("div", description="specify a custom tag used on root element")
84
82
85
83
86
-
# TODO: debug the title prop
84
+
# TODO: debug the title prop(not working)
87
85
classListSubheader(ZTComponent):
88
86
"""List SubHeader is used to specify the Sub Header of the List. Use Text component to provide the title details and pass it to the child component of List."""
89
87
@@ -92,7 +90,6 @@ class ListSubheader(ZTComponent):
92
90
)
93
91
inset: bool=Field(False, description="inset for Subheader")
94
92
sticky: bool=Field(False, description="sticky for subehader")
95
-
tag: str=Field("div", description="specify a custom tag used on root element")
96
93
title: str=Field("", description="title for subheader")
0 commit comments