1 | import { createContext, useContext } from 'react';
|
2 | export const SwiperSlideContext = /*#__PURE__*/createContext(null);
|
3 | export const useSwiperSlide = () => {
|
4 | return useContext(SwiperSlideContext);
|
5 | };
|
6 | export const SwiperContext = /*#__PURE__*/createContext(null);
|
7 | export const useSwiper = () => {
|
8 | return useContext(SwiperContext);
|
9 | }; |
\ | No newline at end of file |