UNPKG

@keycloakify/keycloak-account-ui

Version:
16 lines (15 loc) 756 B
import { TextInputProps } from "@patternfly/react-core"; import { type TFunction } from "i18next"; import { FieldPath, UseFormReturn } from "react-hook-form"; import { InputType, UserProfileFieldProps } from "../../ui-shared/user-profile/UserProfileFields"; import { UserFormFields } from "../../ui-shared/user-profile/utils"; export declare const MultiInputComponent: ({ t, form, attribute, renderer, ...rest }: UserProfileFieldProps) => import("react/jsx-runtime").JSX.Element; export type MultiLineInputProps = Omit<TextInputProps, "form"> & { t: TFunction; name: FieldPath<UserFormFields>; form: UseFormReturn<UserFormFields>; addButtonLabel?: string; isDisabled?: boolean; defaultValue?: string[]; inputType: InputType; };