Interface RequestsModalOptions

interface RequestsModalOptions {
    isRequestsModalVisible: boolean;
    requestCounter: number;
    requestList: Request[];
    roomName: string;
    socket: Socket<DefaultEventsMap, DefaultEventsMap>;
    backgroundColor: string;
    position: string;
    parameters: RequestsModalParameters;
    onRequestClose: (() => void);
    onRequestFilterChange: ((filter: string) => void);
    onRequestItemPress?: RespondToRequestsType;
    updateRequestList: ((newRequestList: any[]) => void);
    overlayStyle?: Partial<CSSStyleDeclaration>;
    contentStyle?: Partial<CSSStyleDeclaration>;
    customTemplate?: any;
}

Properties

isRequestsModalVisible: boolean
requestCounter: number
requestList: Request[]
roomName: string
socket: Socket<DefaultEventsMap, DefaultEventsMap>
backgroundColor: string
position: string
onRequestClose: (() => void)
onRequestFilterChange: ((filter: string) => void)
onRequestItemPress?: RespondToRequestsType
updateRequestList: ((newRequestList: any[]) => void)
overlayStyle?: Partial<CSSStyleDeclaration>
contentStyle?: Partial<CSSStyleDeclaration>
customTemplate?: any