You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
469 B

import React, { FC } from "react";
export interface SaleOffBadgeProps {
className?: string;
desc?: string;
}
const SaleOffBadge: FC<SaleOffBadgeProps> = ({
className = "",
desc = "-10% today",
}) => {
return (
<div
className={`nc-SaleOffBadge flex items-center justify-center text-xs py-0.5 px-3 bg-red-700 text-red-50 rounded-full ${className}`}
data-nc-id="SaleOffBadge"
>
{desc}
</div>
);
};
export default SaleOffBadge;