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>
42 lines (41 loc) • 945 B
TypeScript
import React, { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from '../../utils/typings';
export interface CellProps extends BasicComponent {
openPress: boolean;
/**
* 头像
* @default -
*/
avatar: ReactNode
/**
* 标题
* @default -
*/
title: ReactNode
/**
* 描述
* @default -
*/
description: ReactNode
/**
* 右侧描述
* @default -
*/
extra: ReactNode
/**
* 圆角半径
* @default 6px
*/
radius: string | number
/**
* 纵轴方向上的对齐方式,可选值为:flex-start、center、flex-end
* @default flex-start
*/
align: string
/**
* 点击事件
* @default false
*/
onClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void
}
export declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>>;