rtaro-ui
Version:
UI KIT for Taro
36 lines (20 loc) • 657 B
TypeScript
import { MouseEvent, ComponentClass, ReactNode } from 'react'
import { CommonEventFunction } from '@rtarojs/components/types/common'
import AtComponent from './base'
import { AtIconProps } from './icon'
export interface AtCardProps extends AtComponent {
note?: string
full?: boolean
thumb?: string
icon?: string | AtIconProps
renderExtra?: () => ReactNode
renderIcon?: () => ReactNode
title?: string
extra?: string
arrow?: boolean
type?: 1 | 2
onExtraClick?: CommonEventFunction
onClick?: CommonEventFunction
}
declare const AtCard: ComponentClass<AtCardProps>
export default AtCard