diff --git a/src/components/wobbling-image.tsx b/src/components/wobbling-image.tsx index da91c67..95fba6c 100644 --- a/src/components/wobbling-image.tsx +++ b/src/components/wobbling-image.tsx @@ -13,6 +13,26 @@ interface WobblingImageInterface { } } +interface ImageClipInterface { + name: string; + src: string; + size: number; + visible?: boolean; +} + +const ImageClip: React.FC = ({ + name, src, size, visible +}) => ( + {name} +) + function WobblingImage ({ images }: WobblingImageInterface) { @@ -128,21 +148,23 @@ function WobblingImage ({ onMouseDown={(e) => e.preventDefault()} onPointerDown={(e) => e.preventDefault()} > - clip1 - clip2 +