formik-pf
Version:
A UI library that provides formik bindings with PF components.
15 lines (14 loc) • 396 B
TypeScript
import React from 'react';
import { FieldProps } from '../types';
type SelectInputOption = {
value: string;
disabled: boolean;
};
type SelectFieldProps = FieldProps & {
options: SelectInputOption[];
placeholderText?: React.ReactNode;
isCreatable?: boolean;
hasOnCreateOption?: boolean;
};
declare const SelectField: React.FC<SelectFieldProps>;
export default SelectField;