'use client'; import styles from './MapPreview.module.css'; export default function MapPreview({ lat, lng, label = 'Buka Map' }) { const mapUrl = `https://www.google.com/maps?q=${lat},${lng}`; return (
📍 {lat?.toFixed(4)}, {lng?.toFixed(4)}
{label}
); }