Skip to content

Commit ea94c0d

Browse files
authored
docs(searchbar): streamline usage example with script setup syntax (#3406)
1 parent a2987c1 commit ea94c0d

File tree

1 file changed

+1
-6
lines changed
  • static/usage/v7/searchbar/basic

1 file changed

+1
-6
lines changed

static/usage/v7/searchbar/basic/vue.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@
77
<ion-searchbar animated="true" placeholder="Animated"></ion-searchbar>
88
</template>
99

10-
<script lang="ts">
10+
<script lang="ts" setup>
1111
import { IonSearchbar } from '@ionic/vue';
12-
import { defineComponent } from 'vue';
13-
14-
export default defineComponent({
15-
components: { IonSearchbar },
16-
});
1712
</script>
1813
```

0 commit comments

Comments
 (0)