[@bs.module "react-native-swiper"]
external swiper : ReasonReact.reactClass = "Swiper";
let make =
(
~style=?,
~height=?,
~loop=?,
~autoplay=?,
~horizontal=?,
~paginationStyle=?,
~showsButtons=?,
~showsPagination=?
) =>
ReasonReact.wrapJsForReason(
~reactClass=swiper,
~props=
Js.Undefined.(
{
"style": fromOption(style),
"height": fromOption(height),
"loop": fromOption(loop),
"autoplay": fromOption(autoplay),
"horizontal": fromOption(horizontal),
"paginationStyle": fromOption(paginationStyle),
"showsButtons": fromOption(showsButtons),
"showsPagination": fromOption(showsPagination)
}
)
);