Paragraph.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import type { ExtractPropTypes, FunctionalComponent } from 'vue';
  2. export declare const paragraphProps: () => Omit<{
  3. editable: {
  4. type: import("vue").PropType<boolean | import("./Base").EditConfig>;
  5. default: boolean | import("./Base").EditConfig;
  6. };
  7. copyable: {
  8. type: import("vue").PropType<boolean | import("./Base").CopyConfig>;
  9. default: boolean | import("./Base").CopyConfig;
  10. };
  11. prefixCls: StringConstructor;
  12. component: StringConstructor;
  13. type: import("vue").PropType<import("./Base").BaseType>;
  14. disabled: {
  15. type: BooleanConstructor;
  16. default: any;
  17. };
  18. ellipsis: {
  19. type: import("vue").PropType<boolean | import("./Base").EllipsisConfig>;
  20. default: boolean | import("./Base").EllipsisConfig;
  21. };
  22. code: {
  23. type: BooleanConstructor;
  24. default: any;
  25. };
  26. mark: {
  27. type: BooleanConstructor;
  28. default: any;
  29. };
  30. underline: {
  31. type: BooleanConstructor;
  32. default: any;
  33. };
  34. delete: {
  35. type: BooleanConstructor;
  36. default: any;
  37. };
  38. strong: {
  39. type: BooleanConstructor;
  40. default: any;
  41. };
  42. keyboard: {
  43. type: BooleanConstructor;
  44. default: any;
  45. };
  46. content: StringConstructor;
  47. 'onUpdate:content': import("vue").PropType<(content: string) => void>;
  48. }, "component">;
  49. export declare type ParagraphProps = Partial<ExtractPropTypes<ReturnType<typeof paragraphProps>>>;
  50. declare const Paragraph: FunctionalComponent<ParagraphProps>;
  51. export default Paragraph;