@adactive/arc-itemcarousel
Advanced tools
Comparing version 0.0.2-y.44.3 to 0.0.2-y.44.4
{ | ||
"name": "@adactive/arc-itemcarousel", | ||
"version": "0.0.2-y.44.3", | ||
"version": "0.0.2-y.44.4", | ||
"description": "Adsum Item Carousel Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ # Item Carousel component | ||
![image](https://user-images.githubusercontent.com/8574893/40462162-4ef20dea-5f41-11e8-8f7f-ee13cbec9dd2.png) | ||
![image](https://user-images.githubusercontent.com/8574893/40467947-58d8f748-5f5e-11e8-9fd3-e070f768cd8b.png) | ||
@@ -69,3 +69,2 @@ [Live examples here](https://adactivesas.github.io/adsum-react-components/packages/adsum-itemCarousel/examples/) | ||
+dashCSS?: CSSStyleDeclaration, | ||
+carouselDecorators?: Array<Object>, | ||
+carouselOptions?: Object | ||
@@ -101,4 +100,2 @@ |}; | ||
**carouselDecorators** -> To add in customised control for the carousel | ||
**carouselOptions** -> Refer to [nuka-carousel](http://kenwheeler.github.io/nuka-carousel/#/) for more information | ||
@@ -105,0 +102,0 @@ |
@@ -30,3 +30,2 @@ // @flow | ||
+dashCSS?: CSSStyleDeclaration, | ||
+carouselDecorators?: Array<Object>, | ||
+carouselOptions?: Object | ||
@@ -145,3 +144,3 @@ |}; | ||
render(): Node { | ||
const { isOpen, carouselDecorators, carouselOptions } = this.props; | ||
const { isOpen, carouselOptions } = this.props; | ||
@@ -155,3 +154,3 @@ if (!isOpen) return null; | ||
<div className="templateCarousel"> | ||
<Carousel {...carouselOptions} decorators={carouselDecorators}> | ||
<Carousel {...carouselOptions}> | ||
{ | ||
@@ -158,0 +157,0 @@ this.generatePagination(pagination) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23705
358
108