Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react'
- import Table from './Table'
- class App extends React.Component {
- render() {
- const destList = [
- {
- destination: 'Venice',
- country: 'Italy'
- },
- {
- destination: 'Gili Islands',
- country: 'Indonesia'
- },
- {
- destination: 'Kekova',
- country: 'Turkey'
- },
- {
- destination: 'Zhangjiajie',
- country: 'China'
- },
- {
- destination: 'Waitomo Glow Worm Cave',
- country: 'New Zealand'
- },
- ]
- return (
- <div className="App">
- <h1>Travel Bucketlist</h1>
- <Table destinations={destList} />
- </div>
- )
- }
- }
- export default App
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement