Skip to content

Commit

Permalink
small update to color scheme high level select (reflex-dev#2712)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Gotsman <[email protected]>
  • Loading branch information
2 people authored and Yummy-Yums committed Feb 28, 2024
1 parent a11d917 commit 8056307
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reflex/components/radix/themes/components/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ def create(cls, items: Union[List[str], Var[List[str]]], **props) -> Component:
if prop in props
}

color = props.pop("color", None)
color_scheme = props.pop("color_scheme", None)

if color is not None:
content_props["color_scheme"] = color
trigger_props["color_scheme"] = color
if color_scheme is not None:
content_props["color_scheme"] = color_scheme
trigger_props["color_scheme"] = color_scheme

label = props.pop("label", None)

Expand Down

0 comments on commit 8056307

Please sign in to comment.