Get the latest version from NPM:
$ npm install zazu-react-native-carousel
$ yarn add zazu-react-native-carousel
Import the component:
import { Carousel } from "zazu-react-native-carousel";
export function App() {
return (
<Carousel
containerHeight={100}
widgetKey={"zazu-key"}
backgroundColor={"#ffffff"}
/>
);
}
-
containerHeight
: number - The initial height of the carousel container. -
widgetKey
: string - The generated zazu carousel key. -
backgroundColor
?: string - Container background. (Defaults to transparent).
Zazu carousel is released under the MIT license. © 2022 Zazuapp.co