MediaSFU ReactJS
    Preparing search index...

    Interface MiniCardOptions

    interface MiniCardOptions {
        initials?: string;
        fontSize?: number;
        customStyle?: CSSProperties;
        imageSource?: string;
        roundedImage?: boolean;
        imageStyle?: CSSProperties;
        containerProps?: HTMLAttributes<HTMLDivElement>;
        imageContainerProps?: HTMLAttributes<HTMLDivElement>;
        imageProps?: ImgHTMLAttributes<HTMLImageElement>;
        initialsContainerProps?: HTMLAttributes<HTMLDivElement>;
        initialsTextProps?: HTMLAttributes<HTMLSpanElement>;
        renderContainer?: (
            options: { defaultContainer: ReactNode; isImage: boolean },
        ) => ReactNode;
        renderImage?: (
            options: { defaultImage: ReactNode; imageSource?: string },
        ) => ReactNode;
        renderInitials?: (
            options: { defaultInitials: ReactNode; initials?: string },
        ) => ReactNode;
        isDarkMode?: boolean;
    }
    Index

    Properties

    initials?: string
    fontSize?: number
    customStyle?: CSSProperties
    imageSource?: string
    roundedImage?: boolean
    imageStyle?: CSSProperties
    containerProps?: HTMLAttributes<HTMLDivElement>
    imageContainerProps?: HTMLAttributes<HTMLDivElement>
    imageProps?: ImgHTMLAttributes<HTMLImageElement>
    initialsContainerProps?: HTMLAttributes<HTMLDivElement>
    initialsTextProps?: HTMLAttributes<HTMLSpanElement>
    renderContainer?: (
        options: { defaultContainer: ReactNode; isImage: boolean },
    ) => ReactNode
    renderImage?: (
        options: { defaultImage: ReactNode; imageSource?: string },
    ) => ReactNode
    renderInitials?: (
        options: { defaultInitials: ReactNode; initials?: string },
    ) => ReactNode
    isDarkMode?: boolean