Daniel Turuș
commited on
Removed duplicated semicolons (#494)
Browse files
docs/src/content/guides/configuration.mdx
CHANGED
|
@@ -81,9 +81,9 @@ type Config = {
|
|
| 81 |
// - step: The step object configured for the step
|
| 82 |
// - options.config: The current configuration options
|
| 83 |
// - options.state: The current state of the driver
|
| 84 |
-
onHighlightStarted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 85 |
-
onHighlighted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 86 |
-
onDeselected?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 87 |
|
| 88 |
// Hooks to run before and after the driver
|
| 89 |
// is destroyed. Each hook receives
|
|
@@ -92,8 +92,8 @@ type Config = {
|
|
| 92 |
// - step: The step object configured for the currently active
|
| 93 |
// - options.config: The current configuration options
|
| 94 |
// - options.state: The current state of the driver
|
| 95 |
-
onDestroyStarted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 96 |
-
onDestroyed?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 97 |
|
| 98 |
// Hooks to run on button clicks. Each hook receives
|
| 99 |
// the following parameters:
|
|
@@ -101,9 +101,9 @@ type Config = {
|
|
| 101 |
// - step: The step object configured for the step
|
| 102 |
// - options.config: The current configuration options
|
| 103 |
// - options.state: The current state of the driver
|
| 104 |
-
onNextClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 105 |
-
onPrevClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 106 |
-
onCloseClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void
|
| 107 |
};
|
| 108 |
```
|
| 109 |
|
|
|
|
| 81 |
// - step: The step object configured for the step
|
| 82 |
// - options.config: The current configuration options
|
| 83 |
// - options.state: The current state of the driver
|
| 84 |
+
onHighlightStarted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 85 |
+
onHighlighted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 86 |
+
onDeselected?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 87 |
|
| 88 |
// Hooks to run before and after the driver
|
| 89 |
// is destroyed. Each hook receives
|
|
|
|
| 92 |
// - step: The step object configured for the currently active
|
| 93 |
// - options.config: The current configuration options
|
| 94 |
// - options.state: The current state of the driver
|
| 95 |
+
onDestroyStarted?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 96 |
+
onDestroyed?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 97 |
|
| 98 |
// Hooks to run on button clicks. Each hook receives
|
| 99 |
// the following parameters:
|
|
|
|
| 101 |
// - step: The step object configured for the step
|
| 102 |
// - options.config: The current configuration options
|
| 103 |
// - options.state: The current state of the driver
|
| 104 |
+
onNextClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 105 |
+
onPrevClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 106 |
+
onCloseClick?: (element?: Element, step: DriveStep, options: { config: Config; state: State }) => void;
|
| 107 |
};
|
| 108 |
```
|
| 109 |
|