UNPKG

rc-g-picker

Version:

<!-- Create Readme file for npm package -->

24 lines (23 loc) 629 B
/// <reference types="react" /> export interface RCGPickerProps { clientId: string; clientSecret?: string; scope: string[] | string; onChange?: (data: any) => void; onAuthFailed?: (response: any) => void; onAuthenticate?: (response: string | pickerCodeResponse) => void; disabled?: boolean; viewId?: string; mimeTypes?: string[]; query?: string; developerKey?: string; origin?: string; multiselect?: boolean; children?: React.ReactNode; offline?: boolean; buttonTitle?: string; } export interface pickerCodeResponse { access_token: string; code?: string; }