(duration: number)
| 5 | // Each example runs the same tour at a different `duration` so the effect on |
| 6 | // both the stage slide and the fade-in can be eyeballed side by side. |
| 7 | function tourWithDuration(duration: number) { |
| 8 | driver({ |
| 9 | duration, |
| 10 | showProgress: true, |
| 11 | showButtons: ["next", "previous", "close"], |
| 12 | steps: basicTourSteps, |
| 13 | }).drive(); |
| 14 | } |
| 15 | |
| 16 | export const durationGroup: ExampleGroup = { |
| 17 | title: "Animation Duration (test)", |