UNPKG

react-sign-in-apple

Version:
28 lines (27 loc) 741 B
/// <reference types="react" /> interface Props { clientId: string; redirectURI: string; scope?: string; state?: string; responseType?: string | 'code' | 'id_token'; responseMode?: string | 'query' | 'fragment' | 'form_post'; nonce?: string; usePopup?: boolean; onSuccess?: Function; onFailure?: Function; mode?: string; type?: string; appearance?: { color?: 'black' | 'white'; border?: boolean; borderRadius?: number; width?: number; height?: number; }; render?: (props: { onClick: (event?: any) => void; }) => JSX.Element; } export declare const AppleLogin: (props: Props) => JSX.Element; export {};