import type { AddressLabel } from '../core/types';
interface AddressLabelIconProps {
label: AddressLabel;
className?: string;
/** Native only — web uses `currentColor` via CSS */
color?: string;
}
/** Subtle stroke icons for Home / Work / Other address labels (web). */
export function AddressLabelIcon({ label, className }: AddressLabelIconProps) {
const shared = {
className,
'aria-hidden': true as const,
viewBox: '0 0 24 24',
fill: 'none',
stroke: 'currentColor',
strokeWidth: 2,
strokeLinecap: 'round' as const,
strokeLinejoin: 'round' as const,
};
switch (label) {
case 'home':
return (
);
case 'work':
return (
);
case 'other':
return (
);
}
}