type.d.ts 481 B

1234567891011121314151617181920212223
  1. import { BadgeProps } from '../badge/index';
  2. export interface TdTabBarItemProps {
  3. badgeProps?: {
  4. type: ObjectConstructor;
  5. value?: BadgeProps;
  6. };
  7. icon?: {
  8. type: null;
  9. value?: string | object;
  10. };
  11. subTabBar?: {
  12. type: ArrayConstructor;
  13. value?: SubTabBarItem[];
  14. };
  15. value?: {
  16. type: null;
  17. value?: string | number;
  18. };
  19. }
  20. export interface SubTabBarItem {
  21. value: string;
  22. label: string;
  23. }