UNPKG

@ansible/ansible-ui-framework

Version:

A framework for building applications using PatternFly.

20 lines (19 loc) 1.17 kB
import { ReactNode } from 'react'; import { FieldPathByValue, FieldValues, Validate } from 'react-hook-form'; export type PageFormMarkdownInputProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, object | string | undefined | null> = FieldPathByValue<TFieldValues, object | string | undefined | null>> = { id?: string; name: TFieldName; label: string; labelHelp?: string | string[] | ReactNode; labelHelpTitle?: string; additionalControls?: ReactNode; disableCopy?: boolean; disableUpload?: boolean; disableDownload?: boolean; disableExpand?: boolean; defaultCollapsed?: boolean; isRequired?: boolean; validate?: Validate<string, TFieldValues> | Record<string, Validate<string, TFieldValues>>; isReadOnly?: boolean; }; export declare function PageFormMarkdown<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, object | string | undefined | null> = FieldPathByValue<TFieldValues, object | string | undefined | null>>(props: PageFormMarkdownInputProps<TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;