import React from 'react'; import { GestureResponderEvent } from 'react-native'; import { ThrottleOptions } from '../../internal/utils/useThrottledPressHandler'; type Props = ({ /** * ## 버튼 타입 * * ### 'social_button' * 소셜 로그인 버튼 타입입니다. * * ### 'social_link' * 소셜 공유 버튼 타입입니다. */ type: unknown; onPress: (e: GestureResponderEvent) => void; } & ThrottleOptions & ({ type: 'social_button'; /** * ## 로그인 할 플랫폼 * 'kakao' | 'naver' | 'apple' */ platformToLogin: LoginPlatformUnion; /** * ## 버튼 라벨 텍스트 * 기본값: "OOO로 시작하기" */ label?: string; } | { type: 'social_link'; /** * ## 공유할 플랫폼 * 'kakao' | 'facebook' | 'twitter' | 'share' */ platformToShare: SharePlatformUnion; })); type LoginPlatformUnion = 'kakao' | 'naver' | 'apple'; type SharePlatformUnion = 'kakao' | 'facebook' | 'twitter' | 'share'; /** * SocialButton 컴포넌트 * * @public */ export declare function SocialButton(props: Props): React.JSX.Element; export {};