Scrivito Countdown
A countdown React component/Scrivito widget for the Scrivito CMS.
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-countdown
Import the widget in your javascript (e.g. in index.js
or Widgets/index.js
).
Add this line to your index.js:
import "scrivito-countdown";
Features
A time counter for an event in the future.
Widget properties
In the widget properties you can set:
- Postfix. A text that will be displayed before the time counter.
- Date in the future
- Prefix. A text that will be displayed after the time counter.