element-plus/packages/components/badge/index.ts
Jeremy f17c8f3a2e
docs(components): [badge] enhancement (#10789)
* docs(components): [badge] enhancement

* Update badge docs per new syntax.
* Reorganize code per readability wise purpose.

* chore: remove component name prefix

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-11-27 22:35:13 +08:00

10 lines
234 B
TypeScript

import { withInstall } from '@element-plus/utils'
import Badge from './src/badge.vue'
export const ElBadge = withInstall(Badge)
export default ElBadge
export * from './src/badge'
export type { BadgeInstance } from './src/instance'