timeline-panel 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -21,7 +21,8 @@ npm install timeline-panel
21
21
 
22
22
  ```tsx
23
23
  import React, { useState } from 'react';
24
- import TimelinePanel, { TariffItem } from 'timeline-panel';
24
+ import TimelinePanel from 'timeline-panel';
25
+ import { TariffItem } from 'timeline-panel/dist/types';
25
26
 
26
27
  const testData: TariffItem[] = [
27
28
  {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "timeline-panel",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A flexible React component for displaying time-based tariff/schedule panels",
5
5
  "main": "dist/TimelinePanel.js",
6
- "types": "dist/TimelinePanel.d.ts",
6
+ "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist"
9
9
  ],