1
import * as React from 'react';
2 4
import { createHostComponent } from '@remax/shared';
3
import { BaseProps } from '../../types/component';
4

5
export interface SwiperItemProps extends BaseProps {
6
  /** 该 swiper-item 的标识符 1.9.0 */
7
  itemId?: string;
8
}
9

10
/**
11
 * https://developers.weixin.qq.com/miniprogram/dev/component/swiper-item.html
12
 */
13 4
export const SwiperItem: React.ComponentType<SwiperItemProps> = createHostComponent<SwiperItemProps>('swiper-item');

Read our documentation on viewing source code .

Loading