mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-12 00:54:45 +02:00
Prefix pattern CSS classes with p-
This commit is contained in:
@@ -8,7 +8,7 @@ interface StarProps {
|
||||
|
||||
const Star: React.FC<StarProps> = ({ isActive }) => {
|
||||
return (
|
||||
<button className="star">
|
||||
<button className="p-rating-star">
|
||||
{isActive ? '★' : '☆'}
|
||||
</button>
|
||||
);
|
||||
|
Reference in New Issue
Block a user