@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
17 lines (16 loc) • 592 B
TypeScript
export default class InputValidation extends React.PureComponent<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
state: {
testMe: string;
testMeError: any[];
};
handleChange: (e: any) => void;
handleSubmit: (event: any) => void;
addElement: (array: any, element: any) => any[];
removeElement: (array: any, element: any) => any;
createErrorArr: (validationArr: any, value: any) => any;
validateField: (fieldName: any, value: any, cb: any) => void;
render(): JSX.Element;
}
import React from 'react';