Forráskód Böngészése

Add `size` to Input (#143)

Kabir Goel 2 éve
szülő
commit
9c3b81ff82
1 módosított fájl, 3 hozzáadás és 0 törlés
  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.