Add ability to display revisions
This commit is contained in:
8
js/components/IsNew.js
Normal file
8
js/components/IsNew.js
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user