UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

17 lines 845 B
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