type.d.ts 620 B

12345678910111213141516171819202122232425262728293031
  1. import { TabValue } from '../tabs/index';
  2. export interface TdTabPanelProps {
  3. badgeProps?: {
  4. type: ObjectConstructor;
  5. value?: object;
  6. };
  7. disabled?: {
  8. type: BooleanConstructor;
  9. value?: boolean;
  10. };
  11. icon?: {
  12. type: null;
  13. value?: string | object;
  14. };
  15. label?: {
  16. type: StringConstructor;
  17. value?: string;
  18. };
  19. lazy?: {
  20. type: BooleanConstructor;
  21. value?: boolean;
  22. };
  23. panel?: {
  24. type: StringConstructor;
  25. value?: string;
  26. };
  27. value?: {
  28. type: null;
  29. value?: TabValue;
  30. };
  31. }