npm-cts-ui
Version:
UI KIT for Taro
57 lines (53 loc) • 1.04 kB
TypeScript
import { ComponentClass } from 'react'
import { CommonEventFunction } from '@tarojs/components/types/common'
import CtsComponent from './base'
export interface CtsListProps extends CtsComponent {
/**
* 列表名称
*/
title: string
/**
* 列表名称额外信息
*/
titleNote?: string
/**
* 额外信息
*/
note?: string
/**
* 额外信息的样式
*/
noteClass?: string
/**
* 额外信息是否是徽章
* @default false
*/
isBadge?: boolean
/**
* 左边图片路径,image优先级比icon高
*/
image?: string
/**
* icon样式
*/
icon?: string
/**
* 是否显示右边箭头
* @default true
*/
isArrow?: boolean
/**
* 右边按钮信息
*/
buttonText?: string
/**
* 特殊属性,身份信息已实名信息
*/
noteButtonText?: string
/**
* 点击事件
*/
onClick?: CommonEventFunction
}
declare const CtsList: ComponentClass<CtsListProps>
export default CtsList