react-native-carouselReact Native 轮播控件
react-native-carousel 是一个简单的 React Native 轮播控件。
示例代码
var Carousel = require('react-native-carousel');var ExampleProject = React.createClass({
render() {
return (
<Carousel width={375} indicatorColor="#ffffff" inactiveIndicatorColor="#999999">
<MyFirstPage />
<MySecondPage />
<MyThirdPage />
</Carousel>
);
}
});评论
