type.d.ts 899 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export interface TdImageViewerProps {
  2. backgroundColor?: {
  3. type: StringConstructor;
  4. value?: string;
  5. };
  6. closeBtn?: {
  7. type: null;
  8. value?: string | boolean | object;
  9. };
  10. deleteBtn?: {
  11. type: null;
  12. value?: string | boolean | object;
  13. };
  14. images?: {
  15. type: ArrayConstructor;
  16. value?: Array<string>;
  17. };
  18. initialIndex?: {
  19. type: NumberConstructor;
  20. value?: Number;
  21. };
  22. lazy?: {
  23. type: BooleanConstructor;
  24. value?: boolean;
  25. };
  26. showIndex?: {
  27. type: BooleanConstructor;
  28. value?: boolean;
  29. };
  30. usingCustomNavbar?: {
  31. type: BooleanConstructor;
  32. value?: boolean;
  33. };
  34. visible?: {
  35. type: BooleanConstructor;
  36. value?: boolean;
  37. };
  38. defaultVisible?: {
  39. type: BooleanConstructor;
  40. value?: boolean;
  41. };
  42. }