scrivito-time-ago

1.0.5 • Public • Published

Scrivito Time Ago

CMS: Scrivito License: MIT

A time ago React component/Scrivito widget for the Scrivito CMS.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-time-ago

Import 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.

Package Sidebar

Install

npm i scrivito-time-ago

Weekly Downloads

6

Version

1.0.5

License

MIT

Unpacked Size

6 kB

Total Files

5

Last publish

Collaborators

  • mdwp