element-plus/packages/components/alert/index.ts
Jeremy 8ccb7df2df
docs(components): [alert] (#10373)
* docs(components): [alert]

* Update alert doc.
* Add comment for alert props.
* Reorganize code.
2022-11-03 20:38:41 +08:00

10 lines
234 B
TypeScript

import { withInstall } from '@element-plus/utils'
import Alert from './src/alert.vue'
export const ElAlert = withInstall(Alert)
export default ElAlert
export * from './src/alert'
export type { AlertInstance } from './src/instance'