index.d.ts 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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").CreateComponentPublicInstanceWithMixins<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. }>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, CustomSlotsType<{
  31. actions: any;
  32. author: any;
  33. avatar: any;
  34. content: any;
  35. datetime: any;
  36. default: any;
  37. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
  38. P: {};
  39. B: {};
  40. D: {};
  41. C: {};
  42. M: {};
  43. Defaults: {};
  44. }, Readonly<ExtractPropTypes<{
  45. actions: ArrayConstructor;
  46. /** The element to display as the comment author. */
  47. author: import("vue-types").VueTypeValidableDef<any>;
  48. /** The element to display as the comment avatar - generally an antd Avatar */
  49. avatar: import("vue-types").VueTypeValidableDef<any>;
  50. /** The main content of the comment */
  51. content: import("vue-types").VueTypeValidableDef<any>;
  52. /** Comment prefix defaults to '.ant-comment' */
  53. prefixCls: StringConstructor;
  54. /** A datetime element containing the time to be displayed */
  55. datetime: import("vue-types").VueTypeValidableDef<any>;
  56. }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {}>;
  57. __isFragment?: never;
  58. __isTeleport?: never;
  59. __isSuspense?: never;
  60. } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  61. actions: ArrayConstructor;
  62. /** The element to display as the comment author. */
  63. author: import("vue-types").VueTypeValidableDef<any>;
  64. /** The element to display as the comment avatar - generally an antd Avatar */
  65. avatar: import("vue-types").VueTypeValidableDef<any>;
  66. /** The main content of the comment */
  67. content: import("vue-types").VueTypeValidableDef<any>;
  68. /** Comment prefix defaults to '.ant-comment' */
  69. prefixCls: StringConstructor;
  70. /** A datetime element containing the time to be displayed */
  71. datetime: import("vue-types").VueTypeValidableDef<any>;
  72. }>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, CustomSlotsType<{
  73. actions: any;
  74. author: any;
  75. avatar: any;
  76. content: any;
  77. datetime: any;
  78. default: any;
  79. }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
  80. export default _default;