UNPKG

@td-design/react-native

Version:

react-native UI组件库

28 lines 796 B
import { FC, ReactNode } from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export interface CardProps { /** 图标 */ icon?: ReactNode; /** 标题 */ title?: ReactNode; /** 标题右边内容 */ extra?: ReactNode; /** 自定义渲染标题 */ renderHeader?: () => ReactNode; /** 是否隐藏标题 */ hideHeader?: boolean; /** 底部内容 */ footer?: ReactNode; /** 容器样式 */ containerStyle?: StyleProp<ViewStyle>; /** 容器内content样式 */ contentStyle?: StyleProp<ViewStyle>; /** 子组件 */ children?: ReactNode; } /** * Card 组件由Header(可选)/Content/Footer(可选)三部分组成 */ declare const Card: FC<CardProps>; export default Card; //# sourceMappingURL=index.d.ts.map