This commit is contained in:
vineet3996 2025-04-07 07:59:38 +07:00 committed by GitHub
commit b571efea64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,6 +28,7 @@ const props = withDefaults(
type?: 'text' | 'password'
multiline?: boolean
rows?: number | string
size: string
autosize?: boolean
autofocus?: boolean
monospace?: boolean
@ -55,6 +56,7 @@ const props = withDefaults(
type: 'text',
multiline: false,
rows: 3,
size: "1",
autosize: false,
autofocus: false,
monospace: false,
@ -183,7 +185,7 @@ defineExpose({
:class="{
'leading-5 !font-mono': monospace,
}"
size="1"
:size="size"
:placeholder="placeholder"
:readonly="readonly"
:disabled="disabled"