mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 09:20:36 +01:00
fix(Calendar/InputMenu/Textarea): add missing PartialString type on ui prop
Resolves #3299
This commit is contained in:
@@ -4,6 +4,7 @@ import type { AppConfig } from '@nuxt/schema'
|
||||
import _appConfig from '#build/app.config'
|
||||
import theme from '#build/ui/textarea'
|
||||
import { tv } from '../utils/tv'
|
||||
import type { PartialString } from '../types/utils'
|
||||
|
||||
const appConfigTextarea = _appConfig as AppConfig & { ui: { textarea: Partial<typeof theme> } }
|
||||
|
||||
@@ -34,7 +35,7 @@ export interface TextareaProps {
|
||||
autoresize?: boolean
|
||||
/** Highlight the ring color like a focus state. */
|
||||
highlight?: boolean
|
||||
ui?: Partial<typeof textarea.slots>
|
||||
ui?: PartialString<typeof textarea.slots>
|
||||
}
|
||||
|
||||
export interface TextareaEmits {
|
||||
|
||||
Reference in New Issue
Block a user