UNPKG

@blocklet/ui-react

Version:

Some useful front-end web components that can be used in Blocklets.

14 lines (13 loc) 551 B
declare const UserFollowersContext: import('react').Context<UserFollowersContextType>; type UserFollowersContextType = { followed: boolean; followUser: () => void; unfollowUser: () => void; }; declare function UserFollowersProvider({ isMySelf, userDid, children, }: { children: React.ReactNode; isMySelf: boolean; userDid: string; }): import("react/jsx-runtime").JSX.Element; declare function useUserFollowersContext(): UserFollowersContextType; export { UserFollowersContext, useUserFollowersContext, UserFollowersProvider };