Update props in FileTile

- Add fileInfo
- Remove path (now calculated from fileInfo)
This commit is contained in:
Alex Liebowitz 2017-01-08 22:36:49 -05:00
parent ac32ec366a
commit 5fcedd0d01

View file

@ -9,12 +9,12 @@ let FileTile = React.createClass({
propTypes: {
metadata: React.PropTypes.object.isRequired,
fileInfo: React.PropTypes.string,
name: React.PropTypes.string,
sdHash: React.PropTypes.string,
available: React.PropTypes.bool,
isMine: React.PropTypes.bool,
local: React.PropTypes.bool,
path: React.PropTypes.string,
cost: React.PropTypes.number,
costIncludesData: React.PropTypes.bool,
},