mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
Add onLoad animation configuration
Alluded to here in documentation: https://formidable.com/open-source/victory/docs/victory-stack Code references: https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/src/victory-util/default-transitions.js#L5 https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/src/victory-util/default-transitions.js#L19
This commit is contained in:
Vendored
+8
@@ -302,6 +302,14 @@ declare module "victory" {
|
||||
before?: (datum: any) => AnimationStyle;
|
||||
after?: (datum: any) => AnimationStyle;
|
||||
};
|
||||
/**
|
||||
* Animation load transition configuration
|
||||
*/
|
||||
onLoad?: {
|
||||
duration?: number;
|
||||
before?: (datum: any) => AnimationStyle;
|
||||
after?: (datum: any) => AnimationStyle;
|
||||
};
|
||||
/**
|
||||
* The easing prop specifies an easing function name to use for tweening.
|
||||
* @default "quadInOut"
|
||||
|
||||
Reference in New Issue
Block a user