Last active
July 18, 2016 16:53
-
-
Save codeaholicguy/9a2759ee9efc5c86bf627b6c0129fcd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import TrackList from './components/TrackList'; | |
const tracks = [ | |
{ | |
id: 1, | |
title: 'Em của ngày hôm qua' | |
}, | |
{ | |
id: 2, | |
title: 'Cơn mưa ngang qua' | |
} | |
]; | |
ReactDOM.render( | |
<TrackList tracks={tracks} />, | |
document.getElementById('app') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment