+
+
Tabs with slide effect
+ Swipe to see the next slide.
+
+
+ slide n°2
+
+
+ slide n°3
+
+
);
}
+ _handleChangeIndex(index) {
+ this.setState({
+ slideIndex: index,
+ });
+ }
+
+ _handleChangeTabs(value) {
+ this.setState({
+ slideIndex: parseInt(value, 10),
+ });
+ }
+
_handleButtonClick() {
this.setState({tabsValue: 'c'});
}
diff --git a/docs/src/app/components/raw-code/tabs-code.txt b/docs/src/app/components/raw-code/tabs-code.txt
index 0a1ea791286b66..76543ed0ff5b1a 100644
--- a/docs/src/app/components/raw-code/tabs-code.txt
+++ b/docs/src/app/components/raw-code/tabs-code.txt
@@ -28,3 +28,22 @@
(Tab content...)
+
+// Tabs with slide effect
+