How to use react-responsive-carousel - 1 common examples

To help you get started, we’ve selected a few react-responsive-carousel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fga-eps-mds / 2017.1-PlataformaJogosUnB / frontend / assets / js / layout / InternalSlide.js View on Github external
import React from "react";
import PropTypes from "prop-types";
import {Container} from 'semantic-ui-react';
import imageUnavailable from '../../../public/bundles/images/imgIndisponivel.png'
var Carousel = require('react-responsive-carousel').Carousel;
require("../../../assets/styles/carousel_internal_slide.css");
// https://github.com/leandrowd/react-responsive-carousel

const slideHeight = {
  "maxHeight": "400px",
  "height": 400,
  "margin": "5% 5% 8%",
  "width": "90%",
  "position": "relative"
};

const maxHeightImage = {
  "maxHeight": "380px",
  "height": "50px",
  "width": "50px",
  "position": "relative"

react-responsive-carousel

React Responsive Carousel

MIT
Latest version published 3 years ago

Package Health Score

67 / 100
Full package analysis

Popular react-responsive-carousel functions