ソースを参照

Inset: fix comment (#2389)

Masen Furer 1 年間 前
コミット
fc2f6cddf9

+ 1 - 0
reflex/components/radix/themes/components/inset.py

@@ -20,6 +20,7 @@ class Inset(el.Div, CommonMarginProps, RadixThemesComponent):
     # The side
     side: Var[Literal["x", "y", "top", "bottom", "right", "left"]]
 
+    # How to clip the element's content: "border-box" | "padding-box"
     clip: Var[Literal["border-box", "padding-box"]]
 
     # Padding

+ 1 - 0
reflex/components/radix/themes/components/inset.pyi

@@ -250,6 +250,7 @@ class Inset(el.Div, CommonMarginProps, RadixThemesComponent):
             color: map to CSS default color property.
             color_scheme: map to radix color property.
             side: The side
+            clip: How to clip the element's content: "border-box" | "padding-box"
             p: Padding
             px: Padding on the x axis
             py: Padding on the y axis