diff --git a/frontend/src/components/StickerWallThumbnail.jsx b/frontend/src/components/StickerWallThumbnail.jsx new file mode 100644 index 0000000..7c2cacd --- /dev/null +++ b/frontend/src/components/StickerWallThumbnail.jsx @@ -0,0 +1,39 @@ +import React from 'react'; + +function StickerWallThumbnail({ imageUrl, loading, error, onClick }) { + const baseClasses = 'rounded-lg border border-gray-300 dark:border-gray-600 overflow-hidden flex items-center justify-center bg-gray-100 dark:bg-gray-700/50 flex-shrink-0'; + + if (loading) { + return ( +
+ + + + +
+ ); + } + + if (error || !imageUrl) { + return ( +
+ No stickers +
+ ); + } + + return ( + + ); +} + +export default StickerWallThumbnail;