react-calendly
Version:
Calendly integration for React apps
26 lines (25 loc) • 701 B
TypeScript
import * as React from "react";
import "../../calendly-widget.css";
import { PageSettings, Prefill, Utm, IframeTitle, LoadingSpinner } from "../../calendly";
export interface Props {
url: string;
text: string;
rootElement: HTMLElement;
color?: string;
textColor?: string;
branding?: boolean;
prefill?: Prefill;
utm?: Utm;
pageSettings?: PageSettings;
iframeTitle?: IframeTitle;
LoadingSpinner?: LoadingSpinner;
}
declare class PopupWidget extends React.Component<Props, {
isOpen: boolean;
}> {
constructor(props: Props);
onClick(): void;
onClose(e: React.SyntheticEvent): void;
render(): React.JSX.Element;
}
export default PopupWidget;