UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 668 B
/** * ```js * import { onCommunityUserRoleRemoved } from '@amityco/ts-sdk-react-native' * const dispose = onCommunityUserRoleRemoved((community, member) => { * // ... * }) * ``` * * Fired when a role has been removed from {@link Amity.CommunityUser} * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Community Events */ export declare const onCommunityUserRoleRemoved: (callback: (community: Amity.Community, member: Amity.Membership<'community'>[]) => void) => Amity.Unsubscriber; //# sourceMappingURL=onCommunityUserRoleRemoved.d.ts.map