@txdfe/at
Version:
一个设计体系组件库
33 lines (29 loc) • 605 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
export interface PlaceholderProps extends React.HTMLAttributes<HTMLElement> {
prefix?: string;
/**
* 额外的样式名 会附加到 root dom 上
*/
className?: string;
/**
* 类型
*/
type?: 'normal'|'mini';
/**
* 占位插画
*/
image: string;
/**
* 占位标题
*/
title: string;
/**
* 占位描述
*/
description?: string;
}
export default class Placeholder extends React.Component<PlaceholderProps, any> {
static readonly NO_CONTACT: string;
static readonly NO_TASK: string;
}