antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
17 lines (16 loc) • 608 B
TypeScript
import React, { FC, ReactNode } from 'react';
import { NativeProps } from 'antd-mobile/es/utils/native-props';
import { ITouchEvent } from '@tarojs/components';
export declare type CardProps = {
title?: ReactNode;
extra?: ReactNode;
headerStyle?: React.CSSProperties;
headerClassName?: string;
bodyStyle?: React.CSSProperties;
bodyClassName?: string;
onClick?: (event: ITouchEvent) => void;
onBodyClick?: (event: ITouchEvent) => void;
onHeaderClick?: (event: ITouchEvent) => void;
children?: React.ReactNode;
} & NativeProps;
export declare const Card: FC<CardProps>;