diff --git a/.babelrc b/.babelrc
index cf55185..1c2bd59 100644
--- a/.babelrc
+++ b/.babelrc
@@ -7,6 +7,9 @@
}
}]
],
+ "plugins": [
+ "@babel/plugin-proposal-class-properties"
+ ],
"env": {
"test": {
"presets": [["@babel/preset-env"]]
diff --git a/src/docs/Carousel.svx b/src/docs/Carousel.svx
index f79969d..5157645 100644
--- a/src/docs/Carousel.svx
+++ b/src/docs/Carousel.svx
@@ -76,6 +76,58 @@
+## Autoplay with duration progress
+
+ {#each colors as { color, text } (color)}
+
+ {/each}
+
+
+```jsx
+
+ {#each colors as { color, text } (color)}
+
+ {/each}
+
+```
+
+
+
+## Autoplay with pause on focus
+
+ {#each colors as { color, text } (color)}
+
+ {/each}
+
+
+```jsx
+
+ {#each colors as { color, text } (color)}
+
+ {/each}
+
+```
+
+
+
## Lazy loading of images