1.0.5 • Published 6 years ago
scrivito-time-ago v1.0.5
Scrivito Time Ago
A time ago React component/Scrivito widget for the Scrivito CMS.
Screenshot

Installation
Open your terminal.
$ cd to your Scrivito project
$ npm install scrivito-time-agoImport the widget in your javascript src/Widgets/index.js.
Add this line to your index.js:
import "scrivito-time-ago";Widget properties
In the widget properties you can set:
- Prefix - Text that will be shown before the date.
- Date in the past
- Postfix - Text that will be shown after the date.