import * as React from 'react' ; import { InfoItemCard } from '~/components/info-item-card' ; export interface FlightItineraryProps { origin : string ; destination : string ; } const FlightItinerary = ( { origin , destination } ) => { return < InfoItemCard content = { `${ origin } -> ${ destination }` } />; } ; export default FlightItinerary ;