32 lines
742 B
TypeScript
32 lines
742 B
TypeScript
import React from 'react';
|
|
interface AddMemberModalProps {
|
|
isOpen: boolean;
|
|
onClose: () => void;
|
|
tourId: string;
|
|
participants?: Array<{
|
|
userId: string;
|
|
role: string;
|
|
user?: {
|
|
id: string;
|
|
name: string;
|
|
email: string;
|
|
};
|
|
}>;
|
|
joinRequests?: Array<{
|
|
id: string;
|
|
userId: string;
|
|
user?: {
|
|
id: string;
|
|
name: string;
|
|
email: string;
|
|
};
|
|
status: string;
|
|
requestedById: string;
|
|
}>;
|
|
onRemoveMember?: (userId: string) => Promise<void>;
|
|
onMemberAdded?: () => void;
|
|
userRole?: string;
|
|
}
|
|
export declare const AddMemberModal: React.FC<AddMemberModalProps>;
|
|
export {};
|