Skip to content

Instantly share code, notes, and snippets.

@Eyongkevin
Last active January 6, 2019 05:42
Show Gist options
  • Save Eyongkevin/388e43e0b2b2fdf04811da6fae82b4b7 to your computer and use it in GitHub Desktop.
Save Eyongkevin/388e43e0b2b2fdf04811da6fae82b4b7 to your computer and use it in GitHub Desktop.
article_list component displaying one article
import React, { Component } from 'react';
export default class Article extends Component {
render() {
return (
<div className='item'>
<div className='image'>
<img src='public/images/articles/LWLR.jpg' />
</div>
<div className='middle aligned content'>
<div className='header'>
<i className='large caret up icon' />
<b>49</b>
</div>
<div className='description'>
<a href="#">Linear Regression: How to overcome underfitting with locally Weight Linear Regression(LWLR)</a>
<p>Here, we will look at a technique for locally smoothing our estimates to better fit data</p>
</div>
<div className='extra'>
<span>Published by: </span>
<img className='ui avatar image' src='public/images/avatars/eyong.jpg' />
<span className='author'>eyong kevin </span>
</div>
</div>
</div>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment