-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.d.ts
38 lines (35 loc) · 1.01 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
declare module 'calendly' {
interface BadgeWidgetOptions {
url?: string;
text?: string;
color?: string;
branding?: string;
}
export function createInlineWidgets(): void;
export function showPopupWidget(url: string): void;
export function closePopupWidget(): void;
export function destroyBadgeWiget(): void;
export function initBadgeWidget(opts: BadgeWidgetOptions): void;
}
declare module 'ember-calendly/components/calendly-popup-widget' {
import Component from '@ember/component';
export default class extends Component {
url: string;
text: string;
branding: boolean;
color: string;
}
}
declare module 'ember-calendly/components/calendly-popup-text' {
import Component from '@ember/component';
export default class extends Component {
url: string;
}
}
declare module 'ember-calendly/components/calendly-inline' {
import Component from '@ember/component';
export default class extends Component {
url: string;
style: { [k: string]: string|number|boolean }
}
}