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);
}

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)