Sobes.tech
Back to questions
Middle+
4

Create a Vue 3 component using the Composition API and TypeScript that accepts a prop called `info` of type string. Use a composable function `useInfo` that takes the `info` string and returns a computed property `formattedInfo` which formats the string by prefixing it with "Additional information: ". Display both the original `info` prop and the `formattedInfo` in the component template.

Companies where asked
РунитиРунити