fix: add comment ts types
parent
c89d19e6e1
commit
a678e3b550
|
@ -16,6 +16,7 @@ import { Button } from './button/button';
|
||||||
import { Calendar } from './calendar';
|
import { Calendar } from './calendar';
|
||||||
import { Card } from './card';
|
import { Card } from './card';
|
||||||
import { Collapse } from './collapse/collapse';
|
import { Collapse } from './collapse/collapse';
|
||||||
|
import { Comment } from './comment';
|
||||||
import { Carousel } from './carousel';
|
import { Carousel } from './carousel';
|
||||||
import { Cascader } from './cascader';
|
import { Cascader } from './cascader';
|
||||||
import { Checkbox } from './checkbox/checkbox';
|
import { Checkbox } from './checkbox/checkbox';
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
// Project: https://github.com/vueComponent/ant-design-vue
|
||||||
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||||||
|
|
||||||
|
import { AntdComponent } from './component';
|
||||||
|
|
||||||
|
export declare class Comment extends AntdComponent {
|
||||||
|
/** List of action items rendered below the comment content */
|
||||||
|
actions?: Array<any>;
|
||||||
|
/** The element to display as the comment author. */
|
||||||
|
author?: any;
|
||||||
|
/** The element to display as the comment avatar - generally an antd Avatar */
|
||||||
|
avatar?: any;
|
||||||
|
/** The main content of the comment */
|
||||||
|
content: any;
|
||||||
|
/** Comment prefix defaults to '.ant-comment' */
|
||||||
|
prefixCls?: string;
|
||||||
|
/** A datetime element containing the time to be displayed */
|
||||||
|
datetime?: any;
|
||||||
|
}
|
Loading…
Reference in New Issue