Skip to content

Commit

Permalink
Fix: types of breakpointsBase & effect (#7363)
Browse files Browse the repository at this point in the history
* fix: types of breakpointsBase & effect

* Update swiper-options.d.ts

---------

Co-authored-by: Vladimir Kharlampidi <nolimits4web@gmail.com>
  • Loading branch information
Hasan-Mir and nolimits4web committed Mar 19, 2024
1 parent bf531eb commit a8d7e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/swiper-options.d.ts
Expand Up @@ -206,7 +206,7 @@ export interface SwiperOptions {
uniqueNavElements?: boolean;

/**
* Transition effect. Can be `'slide'`, `'fade'`, `'cube'`, `'coverflow'`, `'flip'` or `'creative'`
* Transition effect. Can be `'slide'`, `'fade'`, `'cube'`, `'coverflow'`, `'flip'`, `'creative'` or `'cards'`
*
* @default 'slide'
*/
Expand Down Expand Up @@ -741,7 +741,7 @@ export interface SwiperOptions {
*
* @default 'window'
*/
breakpointsBase?: string;
breakpointsBase?: 'window' | 'container';

// Observer
/**
Expand Down

0 comments on commit a8d7e7c

Please sign in to comment.