type.d.ts 796 B

12345678910111213141516171819202122232425262728293031
  1. export interface TdSwiperNavProps {
  2. current?: {
  3. type: NumberConstructor;
  4. value?: number;
  5. };
  6. direction?: {
  7. type: StringConstructor;
  8. value?: 'horizontal' | 'vertical';
  9. };
  10. minShowNum?: {
  11. type: NumberConstructor;
  12. value?: number;
  13. };
  14. paginationPosition?: {
  15. type: StringConstructor;
  16. value?: 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right';
  17. };
  18. showControls?: {
  19. type: BooleanConstructor;
  20. value?: boolean;
  21. };
  22. total?: {
  23. type: NumberConstructor;
  24. value?: number;
  25. };
  26. type?: {
  27. type: StringConstructor;
  28. value?: SwiperNavigationType;
  29. };
  30. }
  31. export declare type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction';