diff --git a/packages/varlet-ui/src/alert/index.ts b/packages/varlet-ui/src/alert/index.ts index 5142acc1bc5..0a837ff743d 100644 --- a/packages/varlet-ui/src/alert/index.ts +++ b/packages/varlet-ui/src/alert/index.ts @@ -1,7 +1,11 @@ import Alert from './Alert.vue' -import { withInstall } from '../utils/components' +import { withInstall, withPropsDefaultsSetter } from '../utils/components' +import { props as alertProps } from './props' withInstall(Alert) +withPropsDefaultsSetter(Alert, alertProps) + +export { alertProps } export const _AlertComponent = Alert