react-multi-carousel
Advanced tools
Comparing version 1.0.12 to 1.0.13
import * as React from "react"; | ||
import { CarouselProps } from "./types"; | ||
declare const Carousel: ({ children, ...rest }: CarouselProps) => React.ReactNode; | ||
declare const Carousel: { | ||
({ children, ...rest }: CarouselProps): React.ReactNode; | ||
displayName: string; | ||
__docgenInfo: { | ||
"description": string; | ||
"displayName": string; | ||
"props": { | ||
"responsive": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"deviceType": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"forSSR": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"slidesToSlide": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"disableDrag": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"removeArrow": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"disableSwipeOnMobile": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"removeArrowOnDeviceType": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"customLeftArrow": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"customRightArrow": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"infinite": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"contentClassName": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"itemClassName": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"containerClassName": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
"transition": { | ||
"defaultValue": null; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
export default Carousel; |
{ | ||
"name": "react-multi-carousel", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "", | ||
@@ -8,3 +8,6 @@ "main": "index.js", | ||
"build": "rm -rf ./lib && tsc", | ||
"test": "jest" | ||
"test": "jest", | ||
"storybook": "start-storybook -p 6006", | ||
"export": "build-storybook -c .storybook -o .out", | ||
"build-storybook": "build-storybook" | ||
}, | ||
@@ -49,2 +52,9 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/core": "^7.3.4", | ||
"@material-ui/core": "^3.9.2", | ||
"@storybook/addon-actions": "^4.1.13", | ||
"@storybook/addon-links": "^4.1.13", | ||
"@storybook/addon-viewport": "^4.1.13", | ||
"@storybook/addons": "^4.1.13", | ||
"@storybook/react": "^4.1.13", | ||
"@types/enzyme": "^3.9.0", | ||
@@ -55,11 +65,17 @@ "@types/enzyme-adapter-react-16": "^1.0.5", | ||
"@types/react-dom": "^16.8.2", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"babel-loader": "^8.0.5", | ||
"enzyme": "^3.9.0", | ||
"enzyme-adapter-react-16": "^1.10.0", | ||
"enzyme-to-json": "^3.3.5", | ||
"faker": "^4.1.0", | ||
"jest": "^24.1.0", | ||
"react": "^16.8.3", | ||
"react-docgen-typescript-loader": "^3.0.1", | ||
"react-dom": "^16.8.3", | ||
"storybook-addon-jsx": "^6.0.0", | ||
"ts-jest": "^24.0.0", | ||
"typescript": "^3.3.3333" | ||
} | ||
}, | ||
"dependencies": {} | ||
} |
@@ -15,8 +15,2 @@ # react-multi-carousel | ||
### Limitations. | ||
``` | ||
It works if you don't ask for too much. | ||
``` | ||
### How the SSR mode works? | ||
@@ -29,7 +23,11 @@ | ||
Codes for SSR are at [here](https://github.com/YIZHUANG/react-multi-carousel/blob/master/examples/ssr/pages/index.js). | ||
Demo for the SSR are at [here](https://nextjs-h9168masa.now.sh) | ||
## Demo. | ||
Demo can be found at [here](https://nextjs-r11w4l44y.now.sh). | ||
Demo and documentation can be found at [here](react-multi-carousel.surge.sh). | ||
Codes are at [here](https://github.com/YIZHUANG/react-multi-carousel/blob/master/examples/ssr/pages/index.js). | ||
Codes are at [here](https://github.com/YIZHUANG/react-multi-carousel/blob/master/stories/index.stories.js). | ||
@@ -36,0 +34,0 @@ |
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
33586
553
25
95