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

    Interface SessionEmptyStateProps

    Props for SessionEmptyState component

    interface SessionEmptyStateProps {
        filterFileType: string;
        icon: ReactNode;
        labels?: Partial<SessionEmptyStateLabels>;
        onCreate: () => void;
        onFileOpen: (file: FileEntry) => void;
        roomName?: string;
        showCreateButton?: boolean;
        storageKey?: string;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    filterFileType: string

    File type filter for the file manager list (e.g., 'qa-session', 'polls-session', 'note', 'whiteboard')

    icon: ReactNode

    Icon to display in the empty state

    labels?: Partial<SessionEmptyStateLabels>

    Custom labels for i18n support

    onCreate: () => void

    Callback when create button is clicked

    onFileOpen: (file: FileEntry) => void

    Callback when a file is opened from the list

    roomName?: string

    Room name for filtering files to current room. When provided, shows a toggle to filter between room files and all files.

    showCreateButton?: boolean

    Whether to show the create button (e.g., owner-only for polls)

    storageKey?: string

    localStorage key for persisting room filter toggle and sort state

    sx?: SxProps<Theme>

    MUI sx props for the container