diff --git a/es/swiper/props.mjs b/es/swiper/props.mjs --- a/es/swiper/props.mjs +++ b/es/swiper/props.mjs @@ -55,5 +55,5 @@ }, navigation: { - type: [Object, Function] + type: [Boolean, Object, Function] }, nextMargin: { diff --git a/esm/swiper/props.js b/esm/swiper/props.js --- a/esm/swiper/props.js +++ b/esm/swiper/props.js @@ -55,5 +55,5 @@ }, navigation: { - type: [Object, Function] + type: [Boolean, Object, Function] }, nextMargin: { diff --git a/lib/swiper/props.js b/lib/swiper/props.js --- a/lib/swiper/props.js +++ b/lib/swiper/props.js @@ -55,5 +55,5 @@ }, navigation: { - type: [Object, Function] + type: [Boolean, Object, Function] }, nextMargin: { diff --git a/cjs/swiper/props.js b/cjs/swiper/props.js --- a/cjs/swiper/props.js +++ b/cjs/swiper/props.js @@ -59,5 +59,5 @@ }, navigation: { - type: [Object, Function] + type: [Boolean, Object, Function] }, nextMargin: { diff --git a/es/swiper/type.d.ts b/es/swiper/type.d.ts --- a/es/swiper/type.d.ts +++ b/es/swiper/type.d.ts @@ -10,6 +10,6 @@ height?: string | number; interval?: number; loop?: boolean; - navigation?: SwiperNavigation | TNode; + navigation?: boolean | SwiperNavigation | TNode; nextMargin?: string | number; previousMargin?: string | number; diff --git a/esm/swiper/type.d.ts b/esm/swiper/type.d.ts --- a/esm/swiper/type.d.ts +++ b/esm/swiper/type.d.ts @@ -10,6 +10,6 @@ height?: string | number; interval?: number; loop?: boolean; - navigation?: SwiperNavigation | TNode; + navigation?: boolean | SwiperNavigation | TNode; nextMargin?: string | number; previousMargin?: string | number; diff --git a/lib/swiper/type.d.ts b/lib/swiper/type.d.ts --- a/lib/swiper/type.d.ts +++ b/lib/swiper/type.d.ts @@ -10,6 +10,6 @@ height?: string | number; interval?: number; loop?: boolean; - navigation?: SwiperNavigation | TNode; + navigation?: boolean | SwiperNavigation | TNode; nextMargin?: string | number; previousMargin?: string | number; diff --git a/cjs/swiper/type.d.ts b/cjs/swiper/type.d.ts --- a/cjs/swiper/type.d.ts +++ b/cjs/swiper/type.d.ts @@ -10,6 +10,6 @@ height?: string | number; interval?: number; loop?: boolean; - navigation?: SwiperNavigation | TNode; + navigation?: boolean | SwiperNavigation | TNode; nextMargin?: string | number; previousMargin?: string | number;