From 9c3b81ff82b6beeffa6bda84d0e6b777b9aa2609 Mon Sep 17 00:00:00 2001 From: Kabir Goel Date: Tue, 20 Dec 2022 10:03:46 +0530 Subject: [PATCH] Add `size` to Input (#143) --- pynecone/components/forms/input.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pynecone/components/forms/input.py b/pynecone/components/forms/input.py index 01969d78a..266ba9b7d 100644 --- a/pynecone/components/forms/input.py +++ b/pynecone/components/forms/input.py @@ -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.