@oxyhq/services
Version:
Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀
18 lines • 645 B
TypeScript
import type React from 'react';
import { type ViewStyle, type TextStyle, type StyleProp } from 'react-native';
export interface FollowButtonProps {
userId: string;
initiallyFollowing?: boolean;
size?: 'small' | 'medium' | 'large';
onFollowChange?: (isFollowing: boolean) => void;
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<TextStyle>;
disabled?: boolean;
showLoadingState?: boolean;
preventParentActions?: boolean;
theme?: 'light' | 'dark';
}
declare const FollowButton: React.FC<FollowButtonProps>;
export { FollowButton };
export default FollowButton;
//# sourceMappingURL=FollowButton.d.ts.map