element-plus/packages/components/input-number/index.ts
jeremywu 6006e910aa
refactor(components): ElInputNumber (#3974)
* refactor(components): ElInputNumber

- Rename index.vue -> input-number.vue
- Extract inputNumberProps and inputNumberEmits to input-number.ts

* Update input number docs

* Update input number docs

* Update input number docs

* Address comments

* Code perfection

* Make modelValue required field

* Fix linter

* Remove unnecessary code

* Fix linter
2021-10-22 23:28:03 +08:00

8 lines
232 B
TypeScript

import { withInstall } from '@element-plus/utils/with-install'
import InputNumber from './src/input-number.vue'
export const ElInputNumber = withInstall(InputNumber)
export default ElInputNumber
export * from './src/input-number'