diff --git a/src/components/input/IVInput.type.ts b/src/components/input/IVInput.type.ts new file mode 100644 index 0000000..cbe45f4 --- /dev/null +++ b/src/components/input/IVInput.type.ts @@ -0,0 +1,251 @@ +import type { HintedString, Nullable} from '@primevue/core'; +import type { HTMLAttributes, InputHTMLAttributes } from 'vue'; + +/** + * Interface representing the props for the InputText component. + */ +export interface IInputText { + /** + * The unique identifier for the input element. + */ + id?: string; + + /** + * The ID used to associate the input with a description element for accessibility. + */ + descriptionId?: string; + + /** + * Optional hint text displayed below the input. + */ + hint?: string; + + /** + * Indicates whether the input is in an invalid state. + */ + isInvalid?: boolean; + + /** + * Indicates whether the input is in a valid state. + */ + isValid?: boolean; + + /** + * If true, renders a