0.1.4 • Published 1 year ago
@types/react-messenger-checkbox v0.1.4
Installation
npm install --save @types/react-messenger-checkbox
Summary
This package contains type definitions for react-messenger-checkbox (https://github.com/Yoctol/react-messenger-checkbox).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-messenger-checkbox.
index.d.ts
// Type definitions for react-messenger-checkbox 0.1
// Project: https://github.com/Yoctol/react-messenger-checkbox
// Definitions by: Rémi Roycourt <https://github.com/remiroyc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.4
import * as React from 'react';
interface ReactMessengerProps {
pageId: string;
appId: string;
origin: string;
userRef: string;
prechecked?: boolean | undefined;
allowLogin?: boolean | undefined;
size?: 'small' | 'medium' | 'large' | 'standard' | 'xlarge' | undefined;
skin?: 'light' | 'dark' | undefined;
centerAlign?: boolean | undefined;
autoLogAppEvents?: boolean | undefined;
xfbml?: boolean | undefined;
version?: string | undefined;
language?: string | undefined;
debug?: boolean | undefined;
onEvent?: ((event: any) => void) | undefined;
}
/**
* <MessengerCheckbox />
*/
declare class MessengerCheckbox extends React.Component<ReactMessengerProps> {}
export = MessengerCheckbox;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:20:57 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Rémi Roycourt.