1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

Going LIte

This commit is contained in:
Rokt33r
2015-10-30 14:53:09 +09:00
parent ba0daf4452
commit d9442aa23c
40 changed files with 978 additions and 853 deletions

View File

@@ -34,7 +34,7 @@ function getColorByIndex (index) {
export default class FolderMark extends React.Component {
render () {
let color = getColorByIndex(this.props.id)
let color = getColorByIndex(this.props.color)
return (
<i className='fa fa-square fa-fw' style={{color: color}}/>
)
@@ -42,5 +42,5 @@ export default class FolderMark extends React.Component {
}
FolderMark.propTypes = {
id: PropTypes.number
color: PropTypes.number
}