MediaSFU Shared
    Preparing search index...

    Interface CustomButton<TIcon, TElement>

    interface CustomButton<TIcon = unknown, TElement = unknown> {
        action: () => void;
        show: boolean;
        backgroundColor?: string;
        disabled?: boolean;
        icon?: TIcon;
        iconStyle?: Record<string, any>;
        text?: string;
        textStyle?: Record<string, any>;
        customComponent?: TElement;
    }

    Type Parameters

    • TIcon = unknown
    • TElement = unknown
    Index

    Properties

    action: () => void
    show: boolean
    backgroundColor?: string
    disabled?: boolean
    icon?: TIcon
    iconStyle?: Record<string, any>
    text?: string
    textStyle?: Record<string, any>
    customComponent?: TElement