Skip to content

mdwp/scrivito-time-ago

Repository files navigation

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 (e.g. in index.js or 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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published