Skip to content

Commit

Permalink
docs(searchbar): streamline usage example with script setup syntax (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
treighmawaka authored Jan 31, 2024
1 parent a2987c1 commit ea94c0d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions static/usage/v7/searchbar/basic/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
<ion-searchbar animated="true" placeholder="Animated"></ion-searchbar>
</template>

<script lang="ts">
<script lang="ts" setup>
import { IonSearchbar } from '@ionic/vue';
import { defineComponent } from 'vue';
export default defineComponent({
components: { IonSearchbar },
});
</script>
```

0 comments on commit ea94c0d

Please sign in to comment.