2
0

type.d.ts 857 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { SizeEnum } from '../common/common';
  2. export interface TdLinkProps {
  3. content?: {
  4. type: StringConstructor;
  5. value?: string;
  6. };
  7. disabled?: {
  8. type: BooleanConstructor;
  9. value?: boolean;
  10. };
  11. hover?: {
  12. type: BooleanConstructor;
  13. value?: boolean;
  14. };
  15. navigatorProps?: {
  16. type: ObjectConstructor;
  17. value?: object;
  18. };
  19. prefixIcon?: {
  20. type: null;
  21. value?: string | object;
  22. };
  23. size?: {
  24. type: StringConstructor;
  25. value?: SizeEnum;
  26. };
  27. suffixIcon?: {
  28. type: null;
  29. value?: string | object;
  30. };
  31. theme?: {
  32. type: StringConstructor;
  33. value?: 'default' | 'primary' | 'danger' | 'warning' | 'success';
  34. };
  35. underline?: {
  36. type: BooleanConstructor;
  37. value?: boolean;
  38. };
  39. }