UNPKG

@molejs/mole-components-web

Version:

React组件库

25 lines (24 loc) 751 B
import React, { ReactNode } from 'react'; export interface ListPropsType { renderHeader?: () => React.ReactType | JSX.Element; renderFooter?: () => React.ReactType | JSX.Element; children?: false | JSX.Element | JSX.Element[]; } export interface ListItemPropsType { align?: 'top' | 'middle' | 'bottom'; disabled?: boolean; multipleLine?: boolean; children?: ReactNode; thumb?: ReactNode | null; extra?: ReactNode; arrow?: 'horizontal' | 'down' | 'up' | 'empty' | ''; wrap?: boolean; activeStyle?: React.CSSProperties; error?: boolean; platform?: 'android' | 'ios'; } export interface BriefProps { children?: ReactNode; wrap?: boolean; style?: React.CSSProperties | {} | Array<{}>; }