react-calendly
Version:
Calendly integration for React apps
25 lines (24 loc) • 726 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;
prefill?: Prefill;
utm?: Utm;
pageSettings?: PageSettings;
styles?: React.CSSProperties | undefined;
className?: string;
iframeTitle?: IframeTitle;
LoadingSpinner?: LoadingSpinner;
}
declare class PopupButton extends React.Component<Props, {
isOpen: boolean;
}> {
constructor(props: Props);
onClick(e: React.SyntheticEvent): void;
onClose(e: React.SyntheticEvent): void;
render(): React.JSX.Element;
}
export default PopupButton;