Animates ModalHost overlay
This commit is contained in:
parent
cfc5407d03
commit
d0e8fbd5a6
9 changed files with 340 additions and 292 deletions
|
@ -47,6 +47,12 @@ const INITIAL_IMAGE_TRANSFORM = {
|
|||
scale: 1,
|
||||
translateX: 0,
|
||||
translateY: 0,
|
||||
config: {
|
||||
clamp: true,
|
||||
friction: 20,
|
||||
mass: 0.5,
|
||||
tension: 350,
|
||||
},
|
||||
};
|
||||
|
||||
export function Lightbox({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue