ui(components): New Dialog and Modal components for ui-next (#4772)
Co-authored-by: sedghi <ar.sedghi@gmail.com>
This commit is contained in:
1 parent
62b4fa3e89
commit
a3b51aa8db
90 files changed
+3459
-1357
No files matched your search
@@ -31,7 +31,7 @@ const ModalProvider = ({ children, modal: Modal, service = null }) => {
|
||||
closeButton: true,
|
||||
title: null,
|
||||
customClassName: '',
|
||||
movable: false,
|
||||
isDraggable: false,
|
||||
containerDimensions: null,
|
||||
contentDimensions: null,
|
||||
};
|
||||
@@ -78,7 +78,7 @@ const ModalProvider = ({ children, modal: Modal, service = null }) => {
|
||||
shouldCloseOnEsc,
|
||||
closeButton,
|
||||
shouldCloseOnOverlayClick,
|
||||
movable,
|
||||
isDraggable,
|
||||
containerDimensions,
|
||||
contentDimensions,
|
||||
} = options;
|
||||
@@ -96,7 +96,7 @@ const ModalProvider = ({ children, modal: Modal, service = null }) => {
|
||||
closeButton={closeButton}
|
||||
onClose={hide}
|
||||
shouldCloseOnOverlayClick={shouldCloseOnOverlayClick}
|
||||
movable={movable}
|
||||
isDraggable={isDraggable}
|
||||
containerDimensions={containerDimensions}
|
||||
contentDimensions={contentDimensions}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user