formik-pf
Version:
A UI library that provides formik bindings with PF components.
15 lines (14 loc) • 472 B
TypeScript
import React from 'react';
import { TextInputTypes } from '@patternfly/react-core';
import { FieldProps } from '../types';
export type BaseInputFieldProps = FieldProps & {
type?: TextInputTypes;
placeholder?: string;
onChange?: (event: any) => void;
onBlur?: (event: any) => void;
autoComplete?: string;
};
declare const BaseInputField: React.FC<BaseInputFieldProps & {
children: (props: any) => React.ReactNode;
}>;
export default BaseInputField;