formik-pf
Version:
A UI library that provides formik bindings with PF components.
12 lines (11 loc) • 445 B
TypeScript
import React from 'react';
import { FieldProps } from '../types';
type TextAreaProps = Omit<FieldProps, 'ref'> & {
placeholder?: string;
onChange?: (event: any) => void;
onBlur?: (event: any) => void;
rows?: number;
resizeOrientation?: 'vertical' | 'horizontal' | 'both';
};
declare const TextAreaField: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
export default TextAreaField;