@cloudgpt/timeline-editor
Version:
Enhanced React timeline editor with advanced features including theme system, max duration controls, cursor customization, handle styling, and media support for video editing applications.
10 lines (9 loc) • 453 B
TypeScript
import { ThemeConfig, SizingConfig, HandleConfig, AnimationConfig, CursorConfig } from '../interface/timeline';
export declare function generateThemeStyles(config: {
theme: ThemeConfig;
sizing: SizingConfig;
handles: HandleConfig;
cursor: CursorConfig;
animations: AnimationConfig;
}): Record<string, string | number>;
export declare function applyThemeToElement(element: HTMLElement, styles: Record<string, string | number>): void;