From 24b1bf41478accb570ed1afa0e378cfed9c35861 Mon Sep 17 00:00:00 2001 From: inottn Date: Fri, 16 Jun 2023 10:07:14 +0800 Subject: [PATCH] fix(FloatingPanel): fix missing floatingPanelProps export (#11978) --- packages/vant/src/floating-panel/index.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 {