File size: 407 Bytes
0687ef8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import React from 'react';
interface PriceTagProps {
amount: number | string;
}
const PriceTag: React.FC<PriceTagProps> = ({ amount }) => {
return (
<div className="justify-center items-end py-2 pl-16 text-sm leading-6 text-right text-black bg-white rounded border-black border-solid border-[0.5px]">
${amount}
</div>
);
};
export default PriceTag;
|