UNPKG

@keycloakify/keycloak-account-ui

Version:

<p align="center"> <img src="https://github.com/user-attachments/assets/e31c4910-7205-441c-9a35-e134b806b3a8"> </p> <p align="center"> <i>Repackaged Keycloak Account UI</i> <br> <br> <a href="https://github.com/keycloakify/keycloak-a

11 lines (10 loc) 632 B
import { TextInputProps } from "@patternfly/react-core"; import { ReactNode } from "react"; import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form"; export type TextControlProps<T extends FieldValues, P extends FieldPath<T> = FieldPath<T>> = UseControllerProps<T, P> & Omit<TextInputProps, "name" | "isRequired" | "required"> & { label: string; labelIcon?: string | ReactNode; isDisabled?: boolean; helperText?: string; }; export declare const TextControl: <T extends FieldValues, P extends FieldPath<T> = FieldPath<T>>(props: TextControlProps<T, P>) => import("react/jsx-runtime").JSX.Element;