1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-14 03:22:48 +00:00

working on css

This commit is contained in:
2016-08-12 20:37:47 +00:00
parent 645a46e368
commit db3e51b69a
10 changed files with 580 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
import React from 'react';
export default class Previews extends React.Component{
insertPosts(){
let posts = [];
for (let i = 0; i < 10; i++){
posts.push(<p key={i}>This is a test push {i}</p>);
}
return posts;
}
render(){
return (
<div class="Previews">{this.insertPosts()}</div>
);
}
}