introducing MailgoConfig
This commit is contained in:
1 parent
1eba37acce
commit
eb2e4bb9db
3 files changed
+12
-8
No files matched your search
+3
-1
@@ -1,3 +1,5 @@
|
||||
import { MailgoConfig } from "../mailgo";
|
||||
|
||||
// links
|
||||
const MAILTO: string = "mailto:";
|
||||
const TEL: string = "tel:";
|
||||
@@ -830,7 +832,7 @@ const mailgoStyle = (): void => {
|
||||
};
|
||||
|
||||
// mailgo
|
||||
const mailgo = (mailgoConfig?: any): void => {
|
||||
const mailgo = (mailgoConfig?: MailgoConfig): void => {
|
||||
// if the window is defined...
|
||||
if (window && typeof window !== "undefined") {
|
||||
// add the style for mailgo
|
||||
|
||||
Reference in new issue
Block a user