Skip to content

Commit

Permalink
[REF-3135] Radix Primitive components should not ignore provided `cla…
Browse files Browse the repository at this point in the history
…ss_name` prop (#3676)
  • Loading branch information
ElijahAhianyo authored Jul 18, 2024
1 parent 25aa0cb commit 1bc1978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/components/radix/primitives/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _render(self) -> Tag:
._render()
.add_props(
**{
"class_name": format.to_title_case(self.tag or ""),
"class_name": f"{format.to_title_case(self.tag or '')} {self.class_name or ''}",
}
)
)

0 comments on commit 1bc1978

Please sign in to comment.