UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 586 B
/** * ```js * import { onJoinRequestCreated } from '@amityco/ts-sdk-react-native' * const dispose = onJoinRequestCreated(data => { * // ... * }) * ``` * * Fired when an {@link Amity.CommunityJoinRequestPayload} has been created * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category JoinRequest Events */ export declare const onJoinRequestCreated: (callback: Amity.Listener<Amity.InternalJoinRequest[]>) => Amity.Unsubscriber; //# sourceMappingURL=onJoinRequestCreated.d.ts.map