Passing Data over Custom Components with Vue3 Composition API

The component you see in the example was written using tailwind, but in order not to complicate the content of my writing, I will share the codes as if there are no design parts.
<CustomComponent 
v-model="price"
@priceTypeChanged="doSomething"
/>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store