Skip to content

Commit

Permalink
Radix Primitive components should not ignore provided class_name prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahAhianyo committed Jul 16, 2024
1 parent 93231f8 commit e910b3b
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}",
}
)
)

0 comments on commit e910b3b

Please sign in to comment.