synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
17 lines • 845 B
TypeScript
import { ButtonProps } from '@mui/material';
export type AcceptInvitationProps = {
teamId: string;
onSuccess?: () => void;
};
export declare function AcceptMembershipInvitationButton(props: AcceptInvitationProps & ButtonProps): import("react/jsx-runtime").JSX.Element;
/**
* For the current, authenticated user, displays the details of an open MembershipInvitation for the provided team ID.
*
* This component requires
* 1. The current user is logged-in
* 2. The current user has an open invitation to join the teamId passed in via props
*
* To prompt the user to accept the invitation, use the {@link AcceptMembershipInvitationButton} component.
*/
export declare function OpenMembershipInvitation(props: AcceptInvitationProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=OpenMembershipInvitation.d.ts.map