type.d.ts 515 B

123456789101112131415161718192021222324
  1. export interface TdFooterProps {
  2. links?: {
  3. type: ArrayConstructor;
  4. value?: Array<LinkObj>;
  5. };
  6. logo?: {
  7. type: ObjectConstructor;
  8. value?: FooterLogo;
  9. };
  10. text?: {
  11. type: StringConstructor;
  12. value?: string;
  13. };
  14. }
  15. export interface LinkObj {
  16. name: string;
  17. url?: string;
  18. openType?: 'navigate' | 'redirect' | 'relaunch' | 'switchTab' | 'navigateBack';
  19. }
  20. export interface FooterLogo {
  21. icon: string;
  22. title?: string;
  23. url?: string;
  24. }