diff --git a/packages/vant/src/floating-panel/index.ts b/packages/vant/src/floating-panel/index.ts index 1010ff7ff..02d1e9901 100644 --- a/packages/vant/src/floating-panel/index.ts +++ b/packages/vant/src/floating-panel/index.ts @@ -1,11 +1,10 @@ import { withInstall } from '../utils'; -import _FloatingPanel, { FloatingPanelProps } from './FloatingPanel'; +import _FloatingPanel from './FloatingPanel'; export const FloatingPanel = withInstall(_FloatingPanel); - export default FloatingPanel; - -export type { FloatingPanelProps }; +export { floatingPanelProps } from './FloatingPanel'; +export type { FloatingPanelProps } from './FloatingPanel'; declare module 'vue' { export interface GlobalComponents {