times-intervals
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

TimeIntervals

TimeIntervals is a simple module provides interactive presentation on time periods

About

You can add your date with time periods, and events for interactive presentation alt text

Installation

$ npm i time-intervals

Usage

Import the component

import { NotesInAHurry } from 'notesinahurry';

Add props: title: string; list: PeriodType[]

Types:

type PeriodType = {
id: string;
title: string;
yearStart: number;
yearEnd: number;
eventsList: IntervalEventType[]
}
type IntervalEventType = {
year: number;
description: string;
}

Readme

Keywords

Package Sidebar

Install

npm i times-intervals

Weekly Downloads

0

Version

0.2.1

License

ISC

Unpacked Size

27.4 kB

Total Files

3

Last publish

Collaborators

  • tirsh