<template>
	<input type="number" @input="inputNum" v-model="value" />
</template>

<script setup lang="ts">
	import { reactive } from "vue";
	// import InputNumType from '@/interfaces/compoment/InputNum';
	// const details = reactive<InputNumType>({
	// 	value: '',
	// 	minNum: 0,
	// 	maxNum: 0
	// })

	defineProps({
		value: {
			default: 0,
		},
		maxNum: {
			default: 999999
		},
		minNum: {
			default: 0
		}
	})

	function setdetails() {

	}

	function inputNum() {
		console.log('value :>> ', value);
	}

	defineExpose({ setdetails })
</script>

<style>
</style>