list partial fix

This commit is contained in:
Elijah 2024-10-23 13:11:12 +00:00
parent ab8b092e38
commit c12dcba62b
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class UnorderedList(BaseList, Ul):
tag = "ul"
# The style of the list.
list_style_type: LiteralListStyleTypeOrdered = "disc"
list_style_type: LiteralListStyleTypeUnordered = "disc"
@classmethod
def create(

View File

@ -106,7 +106,7 @@ class UnorderedList(BaseList, Ul):
def create( # type: ignore
cls,
*children,
list_style_type: Optional[LiteralListStyleTypeOrdered] = None,
list_style_type: Optional[LiteralListStyleTypeUnordered] = None,
items: Optional[Union[Iterable, Union[Iterable, Var[Iterable]]]] = None,
access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
auto_capitalize: Optional[