index.d.ts 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. import type { ExtractPropTypes } from 'vue';
  2. import type { CustomSlotsType, VueNode } from '../_util/type';
  3. export declare const commentProps: () => {
  4. actions: ArrayConstructor;
  5. /** The element to display as the comment author. */
  6. author: import("vue-types").VueTypeValidableDef<any>;
  7. /** The element to display as the comment avatar - generally an antd Avatar */
  8. avatar: import("vue-types").VueTypeValidableDef<any>;
  9. /** The main content of the comment */
  10. content: import("vue-types").VueTypeValidableDef<any>;
  11. /** Comment prefix defaults to '.ant-comment' */
  12. prefixCls: StringConstructor;
  13. /** A datetime element containing the time to be displayed */
  14. datetime: import("vue-types").VueTypeValidableDef<any>;
  15. };
  16. export type CommentProps = Partial<ExtractPropTypes<ReturnType<typeof commentProps>>>;
  17. declare const _default: {
  18. new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
  19. actions: ArrayConstructor;
  20. /** The element to display as the comment author. */
  21. author: import("vue-types").VueTypeValidableDef<any>;
  22. /** The element to display as the comment avatar - generally an antd Avatar */
  23. avatar: import("vue-types").VueTypeValidableDef<any>;
  24. /** The main content of the comment */
  25. content: import("vue-types").VueTypeValidableDef<any>;
  26. /** Comment prefix defaults to '.ant-comment' */
  27. prefixCls: StringConstructor;
  28. /** A datetime element containing the time to be displayed */
  29. datetime: import("vue-types").VueTypeValidableDef<any>;
  30. }>>, () => VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
  31. actions: ArrayConstructor;
  32. /** The element to display as the comment author. */
  33. author: import("vue-types").VueTypeValidableDef<any>;
  34. /** The element to display as the comment avatar - generally an antd Avatar */
  35. avatar: import("vue-types").VueTypeValidableDef<any>;
  36. /** The main content of the comment */
  37. content: import("vue-types").VueTypeValidableDef<any>;
  38. /** Comment prefix defaults to '.ant-comment' */
  39. prefixCls: StringConstructor;
  40. /** A datetime element containing the time to be displayed */
  41. datetime: import("vue-types").VueTypeValidableDef<any>;
  42. }>>, {}, true, {}, CustomSlotsType<{
  43. actions: any;
  44. author: any;
  45. avatar: any;
  46. content: any;
  47. datetime: any;
  48. default: any;
  49. }>, {
  50. P: {};
  51. B: {};
  52. D: {};
  53. C: {};
  54. M: {};
  55. Defaults: {};
  56. }, Readonly<ExtractPropTypes<{
  57. actions: ArrayConstructor;
  58. /** The element to display as the comment author. */
  59. author: import("vue-types").VueTypeValidableDef<any>;
  60. /** The element to display as the comment avatar - generally an antd Avatar */
  61. avatar: import("vue-types").VueTypeValidableDef<any>;
  62. /** The main content of the comment */
  63. content: import("vue-types").VueTypeValidableDef<any>;
  64. /** Comment prefix defaults to '.ant-comment' */
  65. prefixCls: StringConstructor;
  66. /** A datetime element containing the time to be displayed */
  67. datetime: import("vue-types").VueTypeValidableDef<any>;
  68. }>>, () => VueNode, {}, {}, {}, {}>;
  69. __isFragment?: never;
  70. __isTeleport?: never;
  71. __isSuspense?: never;
  72. } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  73. actions: ArrayConstructor;
  74. /** The element to display as the comment author. */
  75. author: import("vue-types").VueTypeValidableDef<any>;
  76. /** The element to display as the comment avatar - generally an antd Avatar */
  77. avatar: import("vue-types").VueTypeValidableDef<any>;
  78. /** The main content of the comment */
  79. content: import("vue-types").VueTypeValidableDef<any>;
  80. /** Comment prefix defaults to '.ant-comment' */
  81. prefixCls: StringConstructor;
  82. /** A datetime element containing the time to be displayed */
  83. datetime: import("vue-types").VueTypeValidableDef<any>;
  84. }>>, () => VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, CustomSlotsType<{
  85. actions: any;
  86. author: any;
  87. avatar: any;
  88. content: any;
  89. datetime: any;
  90. default: any;
  91. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
  92. export default _default;