mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Spectacle - Slide and Deck component prop updates (#31599)
* Add <Slide state=""/> and <Deck onStateChange={()=>{}} />
* Update Spectacle version number
This commit is contained in:
committed by
Wesley Wigham
parent
72810f1a57
commit
171d143b8f
Vendored
+3
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Spectacle 5.2.2
|
||||
// Type definitions for Spectacle 5.3.0
|
||||
// Project: https://github.com/FormidableLabs/spectacle
|
||||
// Definitions by: Zachary Maybury <https://github.com/zmaybury>
|
||||
// Kylie Stewart <https://github.com/kale-stew>
|
||||
@@ -164,6 +164,7 @@ declare module "spectacle" {
|
||||
controls?: boolean;
|
||||
globalStyles?: boolean;
|
||||
history?: any; // Needs a type, see https://github.com/ReactTraining/history
|
||||
onStateChange?: (previousState?: string, nextState?: string) => void
|
||||
progress?: progressType;
|
||||
theme?: Theme;
|
||||
transition?: transitionType[];
|
||||
@@ -229,6 +230,7 @@ declare module "spectacle" {
|
||||
notes?: string;
|
||||
onActive?: (slideIndex: string | number) => void;
|
||||
slideIndex?: number;
|
||||
state?: string;
|
||||
transition?: transitionType[];
|
||||
transitionDuration?: number;
|
||||
transitionIn?: transitionType[];
|
||||
|
||||
Reference in New Issue
Block a user