092a8bc7ce
- Removed all backup/duplicate files - Removed test files from root - Consolidated documentation to /docs/ - Moved scripts to /scripts/ - Renamed f_* directories (removed prefix) - Organized icons and assets - Removed unused vendor directories - Cleaned up redundant config files
9 lines
335 B
JavaScript
9 lines
335 B
JavaScript
import { createContext, useContext } from 'react';
|
|
export const SwiperSlideContext = /*#__PURE__*/createContext(null);
|
|
export const useSwiperSlide = () => {
|
|
return useContext(SwiperSlideContext);
|
|
};
|
|
export const SwiperContext = /*#__PURE__*/createContext(null);
|
|
export const useSwiper = () => {
|
|
return useContext(SwiperContext);
|
|
}; |