From 3a915939973cd8c144487f02efb4d1a80bb8c150 Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Thu, 27 Sep 2018 15:24:02 -0700 Subject: [PATCH] gt - Export Carousel components From reactstrarp --- package-lock.json | 2 +- src/components/Carousel.js | 3 +++ src/components/CarouselCaption.js | 3 +++ src/components/CarouselControl.js | 3 +++ src/components/CarouselIndicators.js | 3 +++ src/components/CarouselItem.js | 3 +++ src/index.js | 10 ++++++++++ 7 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/components/Carousel.js create mode 100644 src/components/CarouselCaption.js create mode 100644 src/components/CarouselControl.js create mode 100644 src/components/CarouselIndicators.js create mode 100644 src/components/CarouselItem.js diff --git a/package-lock.json b/package-lock.json index fc5783ebd..e98a24b5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12572,7 +12572,7 @@ "dependencies": { "inline-style-prefixer": { "version": "2.0.5", - "resolved": "http://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-2.0.5.tgz", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-2.0.5.tgz", "integrity": "sha1-wVPH6I/YT+9cYC6VqBaLJ3BnH+c=", "dev": true, "requires": { diff --git a/src/components/Carousel.js b/src/components/Carousel.js new file mode 100644 index 000000000..108acd1bd --- /dev/null +++ b/src/components/Carousel.js @@ -0,0 +1,3 @@ +import Carousel from 'reactstrap/lib/Carousel'; + +export default Carousel; diff --git a/src/components/CarouselCaption.js b/src/components/CarouselCaption.js new file mode 100644 index 000000000..7e547a7be --- /dev/null +++ b/src/components/CarouselCaption.js @@ -0,0 +1,3 @@ +import CarouselCaption from 'reactstrap/lib/CarouselCaption'; + +export default CarouselCaption; diff --git a/src/components/CarouselControl.js b/src/components/CarouselControl.js new file mode 100644 index 000000000..876e46db3 --- /dev/null +++ b/src/components/CarouselControl.js @@ -0,0 +1,3 @@ +import CarouselControl from 'reactstrap/lib/CarouselControl'; + +export default CarouselControl; diff --git a/src/components/CarouselIndicators.js b/src/components/CarouselIndicators.js new file mode 100644 index 000000000..513f67ed1 --- /dev/null +++ b/src/components/CarouselIndicators.js @@ -0,0 +1,3 @@ +import CarouselIndicators from 'reactstrap/lib/CarouselIndicators'; + +export default CarouselIndicators; diff --git a/src/components/CarouselItem.js b/src/components/CarouselItem.js new file mode 100644 index 000000000..09989eec8 --- /dev/null +++ b/src/components/CarouselItem.js @@ -0,0 +1,3 @@ +import CarouselItem from 'reactstrap/lib/CarouselItem'; + +export default CarouselItem; diff --git a/src/index.js b/src/index.js index 37fb1c27f..fe9018047 100755 --- a/src/index.js +++ b/src/index.js @@ -19,6 +19,11 @@ import CardLink from './components/CardLink'; import CardSubtitle from './components/CardSubtitle'; import CardText from './components/CardText'; import CardTitle from './components/CardTitle'; +import Carousel from './components/Carousel'; +import CarouselCaption from './components/CarouselCaption'; +import CarouselControl from './components/CarouselControl'; +import CarouselIndicators from './components/CarouselIndicators'; +import CarouselItem from './components/CarouselItem'; import Col from './components/Col'; import Collapse from './components/Collapse'; import Container from './components/Container'; @@ -156,6 +161,11 @@ export { CardSubtitle, CardText, CardTitle, + Carousel, + CarouselCaption, + CarouselControl, + CarouselIndicators, + CarouselItem, Col, Collapse, Container,