aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/button/ButtonInterface.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/button/ButtonInterface.ts')
-rw-r--r--src/client/views/nodes/button/ButtonInterface.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/views/nodes/button/ButtonInterface.ts b/src/client/views/nodes/button/ButtonInterface.ts
new file mode 100644
index 000000000..0aa2ac8e1
--- /dev/null
+++ b/src/client/views/nodes/button/ButtonInterface.ts
@@ -0,0 +1,12 @@
+import { Doc } from "../../../../fields/Doc";
+import { IconProp } from "@fortawesome/fontawesome-svg-core";
+import { ButtonType } from "./FontIconBox";
+
+export interface IButtonProps {
+ type: string | ButtonType;
+ rootDoc: Doc;
+ label: any;
+ icon: IconProp;
+ color: string;
+ backgroundColor: string;
+} \ No newline at end of file