aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-14 22:38:49 +0200
committerVendicated <vendicated@riseup.net>2022-10-14 22:40:20 +0200
commit0d996633f201b2ab95d8b9dc376a7da2dcca315d (patch)
treedb6e1d1a9a4f863dd20f8380f5ce240854c94834 /src/utils
parenta4e98f92520306dad8bb1cdd9884f0b331fd0bdd (diff)
downloadVencord-0d996633f201b2ab95d8b9dc376a7da2dcca315d.tar.gz
Vencord-0d996633f201b2ab95d8b9dc376a7da2dcca315d.tar.bz2
Vencord-0d996633f201b2ab95d8b9dc376a7da2dcca315d.zip
ViewIcons: Use ImageModal again
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/modal.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/modal.tsx b/src/utils/modal.tsx
index 9e5785d..f142aee 100644
--- a/src/utils/modal.tsx
+++ b/src/utils/modal.tsx
@@ -10,6 +10,13 @@ const Modals = mapMangledModuleLazy("onCloseRequest:null!=", {
let modalId = 1337;
+export enum ModalSize {
+ SMALL = "small",
+ MEDIUM = "medium",
+ LARGE = "large",
+ DYNAMIC = "dynamic",
+}
+
/**
* Open a modal
* @param Component The component to render in the modal