UNPKG

@tarojsx/ui

Version:

We reinvents the UI for Taro3+

19 lines (18 loc) 629 B
import React from 'react'; import { AtListItemProps } from 'taro-ui/types/list'; import { IconProps } from './Icon'; import '../style/ListItem.scss'; export interface ListItemProps extends Omit<AtListItemProps, 'title' | 'iconInfo' | 'thumb' | 'arrow'> { className?: string; children?: React.ReactNode; title?: React.ReactNode; iconInfo?: IconProps; thumb?: React.ReactNode; thumbCircle?: boolean; extra?: React.ReactNode; arrow?: AtListItemProps['arrow'] | 'clear'; footer?: React.ReactNode; ghost?: boolean; onClear?(): any; } export declare const ListItem: React.FC<ListItemProps>;