Spectacle - Slide and Deck component prop updates (#31599)

* Add <Slide state=""/> and <Deck onStateChange={()=>{}} />

* Update Spectacle version number
This commit is contained in:
Tegan Churchill
2018-12-26 16:42:44 -08:00
committed by Wesley Wigham
parent 72810f1a57
commit 171d143b8f
+3 -1
View File
@@ -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[];