ЮЧ
Size: a a a
ЮЧ
ЮЧ
export const Swiper = ({ ...config, children }) => {
const containerRef = useRef()
useLayoutEffect(() => {
const swiper = new Swiper(containerRef.current, config)
return () => swiper.destroy(true, fals)
}, [])
return <div ref={containerRef}>{children}</div>
}
ЮЧ
<Swiper slidesPerView="auto" spaceBetween={20} ...>
...
</Swipre>
АП
ЮЧ
MS
ЮЧ
ЮЧ
IS
ЮЧ
IS
ЮЧ
ЮЧ
ЮЧ
IS
ЮЧ
IS
ЮЧ