UNPKG

@lekseek/ui

Version:

Vue 3 components library

18 lines (17 loc) 479 B
import { PropType, Ref } from 'vue'; export declare type ValidationProps = { error: boolean; }; export declare const defaultValidationProps: Partial<ValidationProps>; export declare const validationProps: { error: { type: PropType<boolean>; default: boolean; }; }; export declare function useValidation(error: Ref): { validationBorderClass: import("vue").ComputedRef<{ 'is-bordered': any; 'has-border-color-error': any; }>; };