Skip to content

Instantly share code, notes, and snippets.

@cassiozen
Created August 24, 2015 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cassiozen/deb5d93896fafcaed781 to your computer and use it in GitHub Desktop.
Save cassiozen/deb5d93896fafcaed781 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
class Voucher extends Component {
constructor() {
super(…arguments)
this.state = {
passengers: [
'Simmon, Robert A.',
'Taylor, Kathleen R.'
],
ticket: {
company: 'Dalta',
flightNo: '0990',
departure: {
airport: 'LAS',
time: '2016– 08– 21 T10: 00: 00.000 Z'
},
arrival: {
airport: 'MIA',
time: '2016– 08– 21 T14: 41: 10.000 Z'
},
codeshare: [
{company: 'GL', flightNo: '9840'},
{company: 'TM', flightNo: '5010'}
]
}
}
}
render() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment