Skip to content

Commit

Permalink
fix: removed tag from props
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshitaDPoojary authored and Carson-Shaar committed Jun 26, 2024
1 parent 0a57fab commit 6c4a9bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions zt_backend/models/components/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ class ListItemTitle(ZTComponent):
[],
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of title",
)
tag: str = Field("div", description="specify a custom tag used on root element")


# TODO: debug opacity
# TODO: debug opacity prop(not working)
class ListItemSubtitle(ZTComponent):
"""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"""

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


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

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

0 comments on commit 6c4a9bc

Please sign in to comment.