narraleaf-react 0.2.1 → 0.2.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.
|
@@ -21,15 +21,15 @@ export declare class Transform<T extends TransformDefinitions.Types = object> {
|
|
|
21
21
|
/**
|
|
22
22
|
* Go to the left side of the stage
|
|
23
23
|
*/
|
|
24
|
-
static left(duration: number, easing
|
|
24
|
+
static left(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
|
|
25
25
|
/**
|
|
26
26
|
* Go to the right side of the stage
|
|
27
27
|
*/
|
|
28
|
-
static right(duration: number, easing
|
|
28
|
+
static right(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
|
|
29
29
|
/**
|
|
30
30
|
* Go to the center of the stage
|
|
31
31
|
*/
|
|
32
|
-
static center(duration: number, easing
|
|
32
|
+
static center(duration: number, easing?: TransformDefinitions.EasingDefinition): Transform<TransformDefinitions.ImageTransformProps>;
|
|
33
33
|
/**
|
|
34
34
|
* @example
|
|
35
35
|
* ```ts
|