import React from 'react' import { A11yProps, pickA11yProps } from '../_utils/interfaces' import { Bullet, BulletTypes } from '../bullet' import { StyledChevronIcon, StyledContent, StyledLabel, StyledProximity, StyledSubLabel, } from './Address.style' import { ItineraryItem, ItineraryItemProps } from './internals/ItineraryItem' import { ProximityProps } from './Proximity' export type AddressProps = A11yProps & Omit & Readonly<{ label: string subLabel?: string href?: string | JSX.Element proximity?: React.ReactElement highlighted?: boolean }> export const Address = ({ prevLine, nextLine, label, subLabel, time, bullet = , href, proximity, highlighted = false, ...props }: AddressProps) => ( {label} {subLabel && {subLabel}} {proximity && {proximity}} {href && } )