Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Last active July 18, 2016 16:53
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 codeaholicguy/9a2759ee9efc5c86bf627b6c0129fcd2 to your computer and use it in GitHub Desktop.
Save codeaholicguy/9a2759ee9efc5c86bf627b6c0129fcd2 to your computer and use it in GitHub Desktop.
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