Hiyve Components - v1.0.0
    Preparing search index...

    Interface RegisterFormProps

    Props for the RegisterForm component.

    interface RegisterFormProps {
        colors?: Partial<RegisterFormColors>;
        customFields?: RegisterCustomField[];
        icons?: Partial<RegisterFormIcons>;
        labels?: Partial<RegisterFormLabels>;
        onError?: (error: Error) => void;
        onLogin?: () => void;
        onSuccess?: (user: AuthUser) => void;
        requireName?: boolean;
        showLoginLink?: boolean;
        styles?: Partial<RegisterFormStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<RegisterFormColors>

    Override default color values

    customFields?: RegisterCustomField[]

    Custom fields rendered after the name field. Values are sent as metadata on register.

    icons?: Partial<RegisterFormIcons>

    Override default icons

    labels?: Partial<RegisterFormLabels>

    Override default text strings

    onError?: (error: Error) => void

    Called when a registration attempt fails

    onLogin?: () => void

    Called when the user clicks the "Sign in" link

    onSuccess?: (user: AuthUser) => void

    Called when registration completes successfully

    requireName?: boolean

    Make the name field required (default: false)

    showLoginLink?: boolean

    Show the "Already have an account?" link (default: true)

    styles?: Partial<RegisterFormStyles>

    Override default dimensions and spacing

    sx?: SxProps<Theme>

    MUI sx prop applied to the root container