Add ability to display revisions

This commit is contained in:
Tom Raithel
2017-08-22 22:31:50 +02:00
parent 33e66cb6fe
commit 113858c170
17 changed files with 97 additions and 8 deletions

8
js/components/IsNew.js Normal file
View File

@@ -0,0 +1,8 @@
import React from 'react';
export default function IsNew({ item }) {
if (item.isNew) {
return <span className="is-new">NEW</span>;
}
return null;
}