UNPKG

@vimeo/iris

Version:
18 lines (17 loc) 459 B
import { CSSProperties } from 'react'; import { IrisComponent } from '../HOCs/withIris'; interface Props { className?: string; style?: CSSProperties; } export declare function useIrisError({ className, style }: Props, Component: IrisComponent<any, any> | string, errorMessage: any, valid: any): { irisError?: undefined; valid?: undefined; } | { irisError: { className: any; style: any; }; valid: any; }; export {};