Skip to content

Commit 6c4a9bc

Browse files
HarshitaDPoojaryCarson-Shaar
authored andcommitted
fix: removed tag from props
1 parent 0a57fab commit 6c4a9bc

File tree

1 file changed

+2
-5
lines changed
  • zt_backend/models/components

1 file changed

+2
-5
lines changed

zt_backend/models/components/list.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ class ListItemTitle(ZTComponent):
6565
[],
6666
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of title",
6767
)
68-
tag: str = Field("div", description="specify a custom tag used on root element")
6968

7069

71-
# TODO: debug opacity
70+
# TODO: debug opacity prop(not working)
7271
class ListItemSubtitle(ZTComponent):
7372
"""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"""
7473

@@ -80,10 +79,9 @@ class ListItemSubtitle(ZTComponent):
8079
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of Subtitle",
8180
)
8281
opacity: Union[int, str] = Field("50%", description="opacity for subtitle")
83-
tag: str = Field("div", description="specify a custom tag used on root element")
8482

8583

86-
# TODO: debug the title prop
84+
# TODO: debug the title prop(not working)
8785
class ListSubheader(ZTComponent):
8886
"""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."""
8987

@@ -92,7 +90,6 @@ class ListSubheader(ZTComponent):
9290
)
9391
inset: bool = Field(False, description="inset for Subheader")
9492
sticky: bool = Field(False, description="sticky for subehader")
95-
tag: str = Field("div", description="specify a custom tag used on root element")
9693
title: str = Field("", description="title for subheader")
9794
childComponents: List[str] = Field(
9895
[],

0 commit comments

Comments
 (0)