Kabir Goel 2 роки тому
батько
коміт
9c3b81ff82
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      pynecone/components/forms/input.py

+ 3 - 0
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.