UNPKG

lark-cms

Version:

Multi terminal CMS component library

45 lines (44 loc) 1.25 kB
import React from "react"; type propsDefined = { /** * 图片地址数组 */ images?: string[]; /** * 缩略图图片地址数组 */ thumbnails?: string[]; /** * 顶部内容文案区域,文字内容; */ texts?: string; /** * 打开预览图,底部的显示的文案; */ previewFooterTexts?: string; /** * 图片高度 */ height?: number; /** * 内容的类型,例如:0:图片, 1:视频,2:语音,3:其他 */ sourcesType?: number; /** * 点击查看详情 */ onViewDetail?: () => void; }; /** * 【基础组件】【组件】 图文模块(发表图文,说说类型) * 规则1:2张图 》一行占满 * 规则2:3张图 》一行占满 * 规则3:4张图 》一行2个,占2行 * 规则4: 5张图 》第一行3个,第二行2个 * 规则5: 6张图 》一行3个,占2行 * 规则6:7张图 》第一行3个,第二行3个,第三行1个 * 规则7:8张图 》第一行3个,第二行3个,第三行2个 * 规则8:9张图 》一行3个,占3行 */ declare const YhwViewImageAndTextRN: (props: propsDefined) => React.JSX.Element; export default YhwViewImageAndTextRN;