diff --git a/components/_util/Portal.js b/components/_util/Portal.jsx similarity index 100% rename from components/_util/Portal.js rename to components/_util/Portal.jsx diff --git a/components/_util/PortalWrapper.js b/components/_util/PortalWrapper.jsx similarity index 100% rename from components/_util/PortalWrapper.js rename to components/_util/PortalWrapper.jsx diff --git a/components/config-provider/index.tsx b/components/config-provider/index.tsx index ebeccf6f3..0fc2e1f44 100644 --- a/components/config-provider/index.tsx +++ b/components/config-provider/index.tsx @@ -1,7 +1,8 @@ import type { PropType, ExtractPropTypes, UnwrapRef } from 'vue'; import { reactive, provide, defineComponent, watch } from 'vue'; import PropTypes from '../_util/vue-types'; -import defaultRenderEmpty, { RenderEmptyHandler } from './renderEmpty'; +import defaultRenderEmpty from './renderEmpty'; +import type { RenderEmptyHandler } from './renderEmpty'; import type { Locale } from '../locale-provider'; import LocaleProvider, { ANT_MARK } from '../locale-provider'; import type { TransformCellTextProps } from '../table/interface'; @@ -15,7 +16,7 @@ export interface CSPConfig { nonce?: string; } -export { RenderEmptyHandler }; +export type { RenderEmptyHandler }; export type Direction = 'ltr' | 'rtl'; diff --git a/components/vc-drawer/src/Drawer.js b/components/vc-drawer/src/Drawer.jsx similarity index 100% rename from components/vc-drawer/src/Drawer.js rename to components/vc-drawer/src/Drawer.jsx diff --git a/components/vc-input-number/src/InputHandler.js b/components/vc-input-number/src/InputHandler.jsx similarity index 100% rename from components/vc-input-number/src/InputHandler.js rename to components/vc-input-number/src/InputHandler.jsx diff --git a/components/vc-input-number/src/index.js b/components/vc-input-number/src/index.jsx similarity index 100% rename from components/vc-input-number/src/index.js rename to components/vc-input-number/src/index.jsx diff --git a/components/vc-slick/src/arrows.js b/components/vc-slick/src/arrows.jsx similarity index 100% rename from components/vc-slick/src/arrows.js rename to components/vc-slick/src/arrows.jsx diff --git a/components/vc-slick/src/dots.js b/components/vc-slick/src/dots.jsx similarity index 100% rename from components/vc-slick/src/dots.js rename to components/vc-slick/src/dots.jsx diff --git a/components/vc-slick/src/inner-slider.js b/components/vc-slick/src/inner-slider.jsx similarity index 100% rename from components/vc-slick/src/inner-slider.js rename to components/vc-slick/src/inner-slider.jsx diff --git a/components/vc-slick/src/slider.js b/components/vc-slick/src/slider.jsx similarity index 100% rename from components/vc-slick/src/slider.js rename to components/vc-slick/src/slider.jsx diff --git a/components/vc-slick/src/track.js b/components/vc-slick/src/track.jsx similarity index 100% rename from components/vc-slick/src/track.js rename to components/vc-slick/src/track.jsx