Add size to Input (#143)

This commit is contained in:
Kabir Goel 2022-12-20 10:03:46 +05:30 committed by GitHub
parent 3d275cf4c2
commit 9c3b81ff82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,9 @@ class Input(ChakraComponent):
# "outline" | "filled" | "flushed" | "unstyled"
variant: Var[str]
# "lg" | "md" | "sm" | "xs"
size: Var[str]
@classmethod
def get_controlled_triggers(cls) -> Set[str]:
"""Get the event triggers that pass the component's value to the handler.