diff --git a/site/mobile/mobile.config.js b/site/mobile/mobile.config.js index 4bb613b7..dc38fbe1 100644 --- a/site/mobile/mobile.config.js +++ b/site/mobile/mobile.config.js @@ -105,7 +105,7 @@ export default { { title: 'Sticky 吸顶', name: 'sticky', - component: () => import('tdesign-mobile-react/sticky/_example/index.jsx'), + component: () => import('tdesign-mobile-react/sticky/_example/index.tsx'), }, { title: 'BackTop 返回顶部', diff --git a/src/sticky/_example/base.jsx b/src/sticky/_example/base.tsx similarity index 100% rename from src/sticky/_example/base.jsx rename to src/sticky/_example/base.tsx diff --git a/src/sticky/_example/container.jsx b/src/sticky/_example/container.tsx similarity index 100% rename from src/sticky/_example/container.jsx rename to src/sticky/_example/container.tsx diff --git a/src/sticky/_example/index.jsx b/src/sticky/_example/index.tsx similarity index 100% rename from src/sticky/_example/index.jsx rename to src/sticky/_example/index.tsx diff --git a/src/sticky/_example/offset.jsx b/src/sticky/_example/offset.tsx similarity index 100% rename from src/sticky/_example/offset.jsx rename to src/sticky/_example/offset.tsx