Comparing version 2.3.0 to 2.3.1
@@ -7,3 +7,3 @@ import { StepStatus } from '../interface'; | ||
export declare function isActive(step: StepStatus): boolean; | ||
declare const _default: (callback: (step: StepStatus) => Promise<void> | typeof SkipStep | typeof DoStep) => [() => void, StepStatus]; | ||
declare const _default: (callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus]; | ||
export default _default; |
@@ -16,4 +16,4 @@ /// <reference types="react" /> | ||
}; | ||
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any>; | ||
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any> | void; | ||
export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void; | ||
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void; |
@@ -7,3 +7,3 @@ import { StepStatus } from '../interface'; | ||
export declare function isActive(step: StepStatus): boolean; | ||
declare const _default: (callback: (step: StepStatus) => Promise<void> | typeof SkipStep | typeof DoStep) => [() => void, StepStatus]; | ||
declare const _default: (callback: (step: StepStatus) => Promise<void> | void | typeof SkipStep | typeof DoStep) => [() => void, StepStatus]; | ||
export default _default; |
@@ -16,4 +16,4 @@ /// <reference types="react" /> | ||
}; | ||
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any>; | ||
export declare type MotionPrepareEventHandler = (element: HTMLElement) => Promise<any> | void; | ||
export declare type MotionEventHandler = (element: HTMLElement, event: MotionEvent) => React.CSSProperties | void; | ||
export declare type MotionEndEventHandler = (element: HTMLElement, event: MotionEvent) => boolean | void; |
{ | ||
"name": "rc-motion", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88895