Inset: fix comment (#2389)

This commit is contained in:
Masen Furer 2024-01-12 14:40:28 -08:00 committed by GitHub
parent fb89c374b1
commit fc2f6cddf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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