UNPKG

@ant-design/react-native

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

23 lines (22 loc) 733 B
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import CardBody from './CardBody'; import CardFooter from './CardFooter'; import CardHeader from './CardHeader'; import { CardStyle } from './style/index'; export interface CardNativeProps extends WithThemeStyles<CardStyle> { style?: StyleProp<ViewStyle>; full?: boolean; children?: React.ReactNode; } export default class Card extends React.Component<CardNativeProps, any> { static defaultProps: { style: {}; full: boolean; }; static Header: typeof CardHeader; static Body: typeof CardBody; static Footer: typeof CardFooter; render(): React.JSX.Element; }