test-nut-ui
Version:
<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>
61 lines (60 loc) • 1.13 kB
TypeScript
import React, { FunctionComponent } from 'react';
import { BasicComponent } from '../../utils/typings';
export interface CardProps extends BasicComponent {
/**
* 左侧图片 Url
* @default -
*/
src: string
/**
* 标题
* @default -
*/
title: string
/**
* 商品价格
* @default -
*/
price: string
/**
* 会员价格
* @default -
*/
vipPrice: string
/**
* 店铺介绍
* @default -
*/
shopDescription: string
/**
* 配送方式
* @default -
*/
delivery: string
/**
* 店铺名称
* @default -
*/
shopName: string
/**
* 自定义商品介绍
* @default -
*/
description: React.ReactNode
/**
* 店铺介绍自定义
* @default -
*/
tag: React.ReactNode
/**
* 价格后方自定义内容
* @default -
*/
priceTag: React.ReactNode
/**
* 右下角内容自定义
* @default -
*/
extra: React.ReactNode
}
export declare const Card: FunctionComponent<Partial<CardProps> & React.HTMLAttributes<HTMLDivElement>>;