Skip to content

Commit

Permalink
chore: fix modules docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jul 11, 2023
1 parent 5aa8745 commit 21b24df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types/swiper-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export interface SwiperOptions {
*
* @example
* ```js
* import Swiper, { Navigation, Pagination } from 'swiper';
* import Swiper from 'swiper';
* import { Navigation, Pagination } from 'swiper/modules';
*
* const swiper = new Swiper('.swiper', {
* modules: [ Navigation, Pagination ],
Expand Down

0 comments on commit 21b24df

Please sign in to comment.