element-plus/packages/components/steps/index.ts
류한경 ac83f03894
refactor(components): [steps] switch to script-setup syntax (#7783)
* refactor(components): [steps] switch to script-setup syntax

improvement(components): [steps] props type

improvement(components): [steps] unnecessary type

* fix(comoponents): [steps] import error

* fix(comoponents): [steps] import error
2022-05-20 19:39:34 +08:00

11 lines
261 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils'
import Steps from './src/steps.vue'
import Step from './src/item.vue'
export const ElSteps = withInstall(Steps, {
Step,
})
export default ElSteps
export const ElStep = withNoopInstall(Step)