Skip to content

Commit

Permalink
version a missing template file
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Nov 12, 2024
1 parent 4718e92 commit c6032a2
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<template>
<div class="space-y-1 flex flex-col">
<label
class="block font-semibold text-gray-800"
:for="name"
>
<span>{{ label }}</span>
</label>

<!-- TODO: your input here -->
</div>
</template>

<script>
import FocusedInputMixin from '@/mixins/focused-input'

export default {
name: 'UIKit<%= class_name %>Input',
mixins: [FocusedInputMixin],
props: {
label: { type: String, default: 'Label' },
name: { type: String, default: 'text' },
value: { type: String }
},
methods: {
focus() {
// TODO: called when the editor clicks on the highlighted content in the preview window
},
}
}
</script>

0 comments on commit c6032a2

Please sign in to comment.