# @types/react-google-picker

> TypeScript definitions for react-google-picker

Latest version **0.1.4** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-google-picker
pnpm add @types/react-google-picker
yarn add @types/react-google-picker
bun add @types/react-google-picker
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2023-11-21 |
| First published | 2022-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-google-picker
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-google-picker
- npm.io page: https://npm.io/package/@types/react-google-picker

## Dependencies (3)

- [@types/gapi](https://npm.io/package/@types/gapi.md) *
- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/google.picker](https://npm.io/package/@types/google.picker.md) *

## Recent versions

- 0.1.4 (latest) — 2023-11-21
- 0.1.0 (ts4.0) — 2022-08-13
- 0.1.3 — 2023-11-07
- 0.1.2 — 2023-10-18
- 0.1.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/react-google-picker`

# Summary
This package contains type definitions for react-google-picker (https://github.com/sdoomz/react-google-picker).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-google-picker.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-google-picker/index.d.ts)
````ts
/// <reference types="gapi" />
/// <reference types="google.picker" />

import * as React from "react";

export interface GooglePickerProps {
    clientId: string;
    developerKey: string;
    scope?: readonly string[];
    viewId?: keyof typeof google.picker.ViewId;
    mimeTypes?: readonly string[];
    query?: string;
    authImmediate?: boolean;
    origin?: string;
    onChange?: (result: google.picker.ResponseObject) => void;
    onAuthenticate?: (oauthToken: string) => void;
    onAuthFailed?: (response: GoogleApiOAuth2TokenObject) => void;
    createPicker?: (google: typeof self.google, oauthToken: string) => void;
    multiselect?: boolean;
    navHidden?: boolean;
    disabled?: boolean;
}

export default class GooglePicker extends React.Component<React.PropsWithChildren<GooglePickerProps>> {}

````

### Additional Details
 * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
 * Dependencies: [@types/gapi](https://npmjs.com/package/@types/gapi), [@types/google.picker](https://npmjs.com/package/@types/google.picker), [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Evan Broder](https://github.com/ebroder).

---
_Source: https://npm.io/package/@types/react-google-picker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
