import React, { memo } from 'react'; import { Carousel } from 'zarm'; import styles from './index.less'; import { ICarouselConfig } from './schema'; import logo from 'editorAssets/01-轮播.png'; import { getLink } from 'editorUtils/tool'; const XCarousel = memo((props: ICarouselConfig) => { const { direction, swipeable, autoPlay, isTpl, imgList, index } = props; const contentRender = () => { return imgList.map((item, i) => { return (
); }); }; const getHtml = () => { let html = ''; return html; } const itemRender = () => { return imgList.map((img, i) => { return (