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

    Interface UserProfileProps

    Props for the UserProfile component.

    interface UserProfileProps {
        colors?: Partial<UserProfileColors>;
        icons?: Partial<UserProfileIcons>;
        labels?: Partial<UserProfileLabels>;
        onError?: (error: Error) => void;
        onLogout?: () => void;
        showLogout?: boolean;
        styles?: Partial<UserProfileStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<UserProfileColors>

    Override default color values

    icons?: Partial<UserProfileIcons>

    Override default icons

    labels?: Partial<UserProfileLabels>

    Override default text strings

    onError?: (error: Error) => void

    Called when the logout operation fails

    onLogout?: () => void

    Called after the user logs out successfully

    showLogout?: boolean

    Show the logout button (default: true)

    styles?: Partial<UserProfileStyles>

    Override default dimensions and spacing

    sx?: SxProps<Theme>

    MUI sx prop applied to the root container