Skip to content

Commit

Permalink
fix: 遗落文件
Browse files Browse the repository at this point in the history
  • Loading branch information
xifanTT committed Dec 18, 2024
1 parent b6f3fa5 commit 9d979de
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/swiper/defaultProps.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */

import { TdSwiperProps } from './type';

export const swiperDefaultProps: TdSwiperProps = {
animation: 'slide',
autoplay: true,
current: 0,
direction: 'horizontal',
duration: 300,
interval: 5000,
loop: true,
nextMargin: 0,
previousMargin: 0,
type: 'default',
};
8 changes: 8 additions & 0 deletions src/swiper/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import './style/index';
import _Swiper from './Swiper';

export type { SwiperProps } from './Swiper';
export * from './type';

export const Swiper = _Swiper;
export default Swiper;

0 comments on commit 9d979de

Please sign in to comment.