Skip to content

Commit

Permalink
fix(ui-kit): NTextInput styles
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 18, 2023
1 parent f3d61da commit 0ed638e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/devtools-ui-kit/src/components/NTextInput.vue
Expand Up @@ -5,9 +5,13 @@ const props = withDefaults(
defineProps<{
modelValue?: string | number
icon?: string
placeholder?: string
disabled?: boolean
type?: string
}>(),
{
modelValue: '',
type: 'text',
},
)
const emit = defineEmits<{ (...args: any): void }>()
Expand All @@ -21,8 +25,7 @@ const input = useVModel(props, 'modelValue', emit, { passive: true })
</slot>
<input
v-model="input"
type="text"
v-bind="$attrs"
v-bind="$props"
class="ml-0.4em w-full flex-auto n-bg-base !outline-none"
>
</div>
Expand Down

0 comments on commit 0ed638e

Please sign in to comment.