mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-17 16:06:57 +00:00
11 lines
312 B
TypeScript
11 lines
312 B
TypeScript
import type { ComputedRef, InjectionKey } from 'vue'
|
|
|
|
interface FormFieldContext {
|
|
controlId: ComputedRef<string>
|
|
describedBy: ComputedRef<string | undefined>
|
|
invalid: ComputedRef<boolean>
|
|
required: ComputedRef<boolean>
|
|
}
|
|
|
|
export const formFieldKey: InjectionKey<FormFieldContext> = Symbol('form-field')
|