ant-design-vue/types/comment.d.ts

40 lines
1.1 KiB
TypeScript
Raw Normal View History

2019-09-29 09:42:17 +00:00
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { VNodeChild } from 'vue';
2020-08-31 06:59:56 +00:00
import { AntdComponent, AntdProps } from './component';
2019-09-29 09:42:17 +00:00
export declare class Comment extends AntdComponent {
2020-08-31 06:59:56 +00:00
$props: AntdProps & {
2020-08-30 14:59:47 +00:00
/** List of action items rendered below the comment content
* any ( array | slot )
*/
actions?: VNodeChild | JSX.Element;
2020-08-30 14:59:47 +00:00
/** The element to display as the comment author
* @type any ( string | slot)
*/
author?: VNodeChild | JSX.Element;
/** The element to display as the comment avatar - generally an antd Avatar
* @type any ( string | slot)
*/
avatar?: VNodeChild | JSX.Element;
2020-08-30 14:59:47 +00:00
/** The main content of the comment
* @type any ( string | slot)
*/
content?: VNodeChild | JSX.Element;
/** Comment prefix defaults to '.ant-comment'
* @type string
*/
prefixCls?: string;
2020-08-30 14:59:47 +00:00
/** A datetime element containing the time to be displayed
* @type any ( string | slot)
*/
datetime?: VNodeChild | JSX.Element;
2020-08-30 14:59:47 +00:00
};
2019-09-29 09:42:17 +00:00
}