0.19.7-alpha.2 • Published 7 months ago

reacthub-timeline-editor v0.19.7-alpha.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Original Work

This repo is forked from the original author repo @xzdarcy/react-timeline-editor and modified with custom requirements.

React Timeline Editor

npm version npm downloads

React Timeline Editor is a react component used to quickly build a timeline animation editor.

example

Getting Started

npm install @xzdarcy/react-timeline-editor
import { Timeline, TimelineEffect, TimelineRow } from '@xzdarcy/react-timeline-editor';
import React from 'react';

const mockData: TimelineRow[] = [
  {
    id: '0',
    actions: [
      {
        id: 'action00',
        start: 0,
        end: 2,
        effectId: 'effect0',
      },
    ],
  },
  {
    id: '1',
    actions: [
      {
        id: 'action10',
        start: 1.5,
        end: 5,
        effectId: 'effect1',
      },
    ],
  },
];

const mockEffect: Record<string, TimelineEffect> = {
  effect0: {
    id: 'effect0',
    name: '效果0',
  },
  effect1: {
    id: 'effect1',
    name: '效果1',
  },
};

const TimelineEditor = () => {
  return <Timeline editorData={mockData} effects={mockEffect} />;
};

Documention

Checkout the Docs for a demonstration of some basic and advanced features.

0.19.7-alpha.2

7 months ago

0.19.7-alpha.0

8 months ago

0.19.6

8 months ago

0.19.7-alpha.1

7 months ago

0.19.5-alpha.0

8 months ago

0.19.4

10 months ago

0.19.3

12 months ago

0.19.2

1 year ago

0.19.1

1 year ago

0.19.0

1 year ago

0.18.0

1 year ago

0.17.0

1 year ago

0.16.0

1 year ago

0.15.0

1 year ago

0.14.0

1 year ago

0.13.0

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago