import { FC } from "react";
import { FaMapMarkerAlt } from "react-icons/fa";

interface ILocationProps {
	city: string;
	className?: string;
}

const Location: FC<ILocationProps> = ({ city, className }) => {
	return (
		<span className={className} style={{ display: "flex", alignItems: "center", gap: "0.3rem" }}>
			<FaMapMarkerAlt style={{ fontSize: "0.7em" }} />
			{city}
		</span>
	);
};

export default Location;
