lucid-ui
Version:
A UI component library from AppNexus.
35 lines (34 loc) • 920 B
TypeScript
import React from 'react';
import { StandardProps } from '../../util/component-types';
interface IValidationErrorProps extends StandardProps {
description?: string;
}
export interface IValidationProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
Error?: React.ReactNode;
}
export declare const Validation: {
(props: IValidationProps): React.ReactElement;
displayName: string;
peek: {
description: string;
categories: string[];
};
propTypes: {
Error: any;
className: any;
children: any;
};
Error: {
(_props: IValidationErrorProps): null;
displayName: string;
peek: {
description: string;
};
propName: string;
propTypes: {
description: any;
children: any;
};
};
};
export default Validation;