File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed
Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 6161 "babel-eslint" : " ^9.0.0" ,
6262 "concurrently" : " ^4.1.0" ,
6363 "cross-env" : " ^5.1.4" ,
64- "docz" : " ^2.3.0-alpha.6 " ,
64+ "docz" : " ^2.3.1 " ,
6565 "enzyme" : " ^3.6.0" ,
6666 "enzyme-adapter-react-16" : " ^1.5.0" ,
6767 "eslint" : " 5.12.0" ,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import Carousel from 'react-elastic-carousel'
4040
4141## Styling
4242
43- Almost every element in ` react-elastic-carousel ` has a css class with the ` rec- ` prefix (rec is short React Elastic Carousel).
43+ Almost every element in ` react-elastic-carousel ` has a css class with the ` rec- ` prefix (rec is short React Elastic Carousel).
44+ For example: ` rec-arrow ` for both arrow buttons or ` rec-arrow-left ` just for the left one.
4445
45- For example: ` rec-arrow ` for both arrow buttons or ` rec-arrow-left ` just for the left one. [ example ] ( /styling )
46+ You can see a code example [ here ] ( /styling ) .
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const Track = ({
4848 onSwipedRight = { onSwipedRight }
4949 onSwipedUp = { onSwipedUp }
5050 onSwipedDown = { onSwipedDown }
51- className = { swipebleClassName }
51+ className = { swipeableClassName }
5252 >
5353 { item }
5454 </ Swipeable >
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ describe("helpers", () => {
1313 expect ( css ) . toEqual ( "rec rec-test" ) ;
1414 } ) ;
1515
16+ it ( "cssPrefix multi keys" , ( ) => {
17+ const css = helpers . cssPrefix ( "test" , "test2" ) ;
18+ expect ( css ) . toEqual ( "rec rec-test rec-test2" ) ;
19+ } ) ;
20+
1621 it ( "pipe" , ( ) => {
1722 const inc = num => num + 1 ;
1823 const double = num => num * 2 ;
Original file line number Diff line number Diff line change @@ -6224,7 +6224,7 @@ docz-utils@^2.3.0:
62246224 unist-util-is "^3.0.0"
62256225 unist-util-visit "^1.4.1"
62266226
6227- docz@^2.3.0-alpha.6 :
6227+ docz@^2.3.1 :
62286228 version "2.3.1"
62296229 resolved "https://registry.yarnpkg.com/docz/-/docz-2.3.1.tgz#931cd840e2f9a25691fb7c67fa48d4a6ef1476a3"
62306230 integrity sha512-HlbLqpizhieqvjD6xxNr6Nj8sk00vnHbLh4wHabXUpOi8ZkILBDSLmnfGzozAgmT+HN18CbszYMXCOlbcr4MXQ==
You can’t perform that action at this time.
0 commit comments