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

14 lines (13 loc) 647 B
import { FormGroupProps } from "@patternfly/react-core"; import { PropsWithChildren, ReactNode } from "react"; import { FieldError, FieldValues, Merge } from "react-hook-form"; export type FieldProps<T extends FieldValues = FieldValues> = { label?: string; name: string; labelIcon?: string | ReactNode; error?: FieldError | Merge<FieldError, T>; isRequired: boolean; }; type FormLabelProps = FieldProps & Omit<FormGroupProps, "label" | "labelIcon">; export declare const FormLabel: ({ name, label, labelIcon, error, children, ...rest }: PropsWithChildren<FormLabelProps>) => import("react/jsx-runtime").JSX.Element; export {};