replyke-rn
Version:
Replyke React Native components: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
13 lines (12 loc) • 877 B
TypeScript
export default function useSheetManager(): Partial<{
commentOptionsSheetRef: import("react").RefObject<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>;
reportCommentSheetRef: import("react").RefObject<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>;
openCommentOptionsSheet: (newComment?: import("replyke-core").Comment) => void;
closeCommentOptionsSheet: () => void;
openReportCommentSheet: () => void;
closeReportCommentSheet: () => void;
optionsComment: import("replyke-core").Comment | null;
setOptionsComment: import("react").Dispatch<import("react").SetStateAction<import("replyke-core").Comment | null>>;
reportedComment: import("replyke-core").Comment | null;
setReportedComment: import("react").Dispatch<import("react").SetStateAction<import("replyke-core").Comment | null>>;
}>;