UNPKG

@threlte/theatre

Version:

Threlte Components for Theatre, an animation library with a professional motion design toolset

15 lines (14 loc) 367 B
import type { Snippet } from 'svelte'; export type TransformProps<T extends string | undefined> = { label?: T; mode?: 'translate' | 'rotate' | 'scale'; translationSnap?: number; rotationSnap?: number; scaleSnap?: number; space?: 'world' | 'local'; children?: Snippet; } & (T extends string ? { key: string; } : { key?: string; });