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

    Interface RoomDetailHeaderProps

    Props for the RoomDetailHeader component.

    interface RoomDetailHeaderProps {
        actions?: ReactNode;
        categoryBadge?: { icon?: ReactNode; label: string };
        headerGradient?: [string, string];
        headerIcon?: ReactNode;
        isMobile?: boolean;
        labels?: Partial<RoomDetailHeaderLabels>;
        onError?: (error: Error) => void;
        room: StoredRoom;
        showDescription?: boolean;
        stats?: RoomDetailStat[];
        subtitle?: string;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    actions?: ReactNode

    Action buttons rendered in the banner (right side)

    categoryBadge?: { icon?: ReactNode; label: string }

    Category badge shown top-left in banner

    headerGradient?: [string, string]

    Gradient colors for the header banner [startColor, endColor]

    headerIcon?: ReactNode

    Watermark icon rendered centered in the banner

    isMobile?: boolean

    Whether the layout is mobile (stacks title/actions vertically)

    labels?: Partial<RoomDetailHeaderLabels>

    Custom labels

    onError?: (error: Error) => void

    Error callback

    Room data

    showDescription?: boolean

    Whether to show the room description from metadata

    true
    
    stats?: RoomDetailStat[]

    Stats to display below the banner

    subtitle?: string

    Optional subtitle displayed below the room name (e.g. cleaned room identifier)

    sx?: SxProps<Theme>

    MUI sx prop