Skip to content

Commit

Permalink
fix: controls components name
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Mar 7, 2022
1 parent b16d7ad commit dab555a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<script lang="ts">
export default {
name: 'HstCheckbox',
}
</script>

<script lang="ts" setup>
import { computed, ref, watch } from 'vue'
Expand Down
14 changes: 8 additions & 6 deletions packages/histoire-controls/src/components/input/HstInput.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script lang="ts">
export default {
name: 'HstInput',
inheritAttrs: false,
}
</script>

<script lang="ts" setup>
import { ref } from 'vue'
Expand All @@ -15,12 +23,6 @@ const emit = defineEmits({
const input = ref<HTMLInputElement>()
</script>

<script lang="ts">
export default {
inheritAttrs: false,
}
</script>

<template>
<div
class="htw-p-2 hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700 htw-cursor-text"
Expand Down

0 comments on commit dab555a

Please sign in to comment.