You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| history | PropTypes.object | Accepts custom configuration for [history](https://github.com/ReactTraining/history). ||
485
-
| progress | PropTypes.string | Accepts `pacman`, `bar`, `number` or `none`. To override the color, change the 'quaternary' color in the theme. |`pacman`|
486
-
| theme | PropTypes.object | Accepts a theme object for styling your presentation. ||
487
-
| transition | PropTypes.array | Accepts `slide`, `zoom`, `fade` or `spin`, and can be combined. Sets global slide transitions. **Note: If you use the 'scale' transition, fitted text won't work in Safari.**||
488
-
| transitionDuration | PropTypes.number | Accepts integer value in milliseconds for global transition duration. |`500`|
| onStateChange | PropTypes.func | Called whenever a new slide becomes visible with the arguments `(previousState, nextState)` where state refers to the outgoing and incoming `<Slide />`'s `state` props, respectively. The default implementation attaches the current state as a class to the document root. | see description |
485
+
| history | PropTypes.object | Accepts custom configuration for [history](https://github.com/ReactTraining/history). ||
486
+
| progress | PropTypes.string | Accepts `pacman`, `bar`, `number` or `none`. To override the color, change the 'quaternary' color in the theme. |`pacman`|
487
+
| theme | PropTypes.object | Accepts a theme object for styling your presentation. ||
488
+
| transition | PropTypes.array | Accepts `slide`, `zoom`, `fade` or `spin`, and can be combined. Sets global slide transitions. **Note: If you use the 'scale' transition, fitted text won't work in Safari.**||
489
+
| transitionDuration | PropTypes.number | Accepts integer value in milliseconds for global transition duration. |`500`|
489
490
490
491
<aname="slide-base"></a>
491
492
@@ -504,6 +505,7 @@ The slide tag represents each slide in the presentation. Giving a slide tag an `
504
505
| notes | PropTypes.string | Text which will appear in the presenter mode. Can be HTML. ||
505
506
| onActive | PropTypes.func | Optional function that is called with the slide index when the slide comes into view. ||
506
507
| progressColor | PropTypes.string | Used to override color of progress elements on a per slide basis, accepts color aliases, or valid color values. |`quaternary` color set by theme |
508
+
| state | PropTypes.string | Used to indicate that the deck is in a specific state. Inspired by [Reveal.js](https://github.com/hakimel/reveal.js)'s `data-state` attribute ||
507
509
| transition | PropTypes.array | Used to override transition prop on a per slide basis, accepts `slide`, `zoom`, `fade`, `spin`, or a [function](#transition-function), and can be combined. This will affect both enter and exit transitions. **Note: If you use the 'scale' transition, fitted text won't work in Safari.**| Set by `Deck`'s `transition` prop |
508
510
| transitionIn | PropTypes.array | Specifies the slide transition when the slide comes into view. Accepts the same values as transition. |
509
511
| transitionOut | PropTypes.array | Specifies the slide transition when the slide exits. Accepts the same values as transition. | Set by `Deck`'s `transition` prop |
0 commit comments