[REF-3135] Radix Primitive components should not ignore provided class_name
prop (#3676)
This commit is contained in:
parent
25aa0cbab1
commit
1bc1978c31
@ -26,7 +26,7 @@ class RadixPrimitiveComponentWithClassName(RadixPrimitiveComponent):
|
||||
._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 ''}",
|
||||
}
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user