forked from akiran/react-slick
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
114 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
"use strict"; | ||
|
||
import React from "react"; | ||
import Slider from "../src/slider"; | ||
|
||
import SimpleSlider from "../examples/SimpleSlider"; | ||
import SlideChangeHooks from "../examples/SlideChangeHooks"; | ||
import MultipleItems from "../examples/MultipleItems"; | ||
import MultipleRows from "../examples/MultipleRows"; | ||
import Responsive from "../examples/Responsive"; | ||
import Resizable from "../examples/Resizable"; | ||
import UnevenSetsInfinite from "../examples/UnevenSetsInfinite"; | ||
import UnevenSetsFinite from "../examples/UnevenSetsFinite"; | ||
import CenterMode from "../examples/CenterMode"; | ||
import FocusOnSelect from "../examples/FocusOnSelect"; | ||
import AutoPlay from "../examples/AutoPlay"; | ||
import AutoPlayMethods from "../examples/AutoPlayMethods"; | ||
import PauseOnHover from "../examples/PauseOnHover"; | ||
import Rtl from "../examples/Rtl"; | ||
import VariableWidth from "../examples/VariableWidth"; | ||
import AdaptiveHeight from "../examples/AdaptiveHeight"; | ||
import LazyLoad from "../examples/LazyLoad"; | ||
import Fade from "../examples/Fade"; | ||
import SlickGoTo from "../examples/SlickGoTo"; | ||
import CustomArrows from "../examples/CustomArrows"; | ||
import PreviousNextMethods from "../examples/PreviousNextMethods"; | ||
import DynamicSlides from "../examples/DynamicSlides"; | ||
import VerticalMode from "../examples/VerticalMode"; | ||
import SwipeToSlide from "../examples/SwipeToSlide"; | ||
import VerticalSwipeToSlide from "../examples/VerticalSwipeToSlide"; | ||
import CustomPaging from "../examples/CustomPaging"; | ||
import CustomSlides from "../examples/CustomSlides"; | ||
import AsNavFor from "../examples/AsNavFor"; | ||
import AppendDots from "../examples/AppendDots"; | ||
|
||
export default class App extends React.Component { | ||
render() { | ||
return ( | ||
<div className="content"> | ||
<SimpleSlider /> | ||
<MultipleItems /> | ||
<MultipleRows /> | ||
<Responsive /> | ||
<Resizable /> | ||
<UnevenSetsInfinite /> | ||
<UnevenSetsFinite /> | ||
<CenterMode /> | ||
<FocusOnSelect /> | ||
<AutoPlay /> | ||
<AutoPlayMethods /> | ||
<PauseOnHover /> | ||
<Rtl /> | ||
<VariableWidth /> | ||
<AdaptiveHeight /> | ||
<LazyLoad /> | ||
<Fade /> | ||
<SlideChangeHooks /> | ||
<SlickGoTo /> | ||
<CustomPaging /> | ||
<CustomArrows /> | ||
<CustomSlides /> | ||
<PreviousNextMethods /> | ||
<DynamicSlides /> | ||
<VerticalMode /> | ||
<SwipeToSlide /> | ||
<VerticalSwipeToSlide /> | ||
<AsNavFor /> | ||
<AppendDots /> | ||
</div> | ||
); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use strict"; | ||
|
||
import React from "react"; | ||
import Demos from "./demos"; | ||
|
||
export default class Docs extends React.Component { | ||
render() { | ||
return ( | ||
<div className=""> | ||
<div className="title-bar primary"> | ||
<span className="title">React Slick</span> | ||
</div> | ||
<div className=""> | ||
<div className=""> | ||
<Demos /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"use strict"; | ||
|
||
import React from "react"; | ||
import ReactDOM from "react-dom"; | ||
import Docs from "./docs"; | ||
|
||
React.initializeTouchEvents && React.initializeTouchEvents(true); | ||
ReactDOM.render(<Docs />, document.getElementById("rapp")); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"use strict"; | ||
|
||
var React = require("react"); | ||
var Router = require("react-router"); | ||
var Route = Router.Route; | ||
var Docs = require("./docs"); | ||
|
||
var path = | ||
process.env.NODE_ENV === "dev_docs" ? "/" : "/opensource/react-slick"; | ||
var routes = <Route name="app" path={path} handler={Docs}></Route>; | ||
|
||
module.exports = routes; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters