4
0
forked from crowetic/commerce

Better Search Experience

This commit is contained in:
Belen Curcio 2020-10-15 12:19:19 -03:00
parent 17d8913d17
commit a0e5448210

View File

@ -141,10 +141,15 @@ export default function Search({
layout="normal" layout="normal"
wrapper={ wrapper={
data data
? ProductCard ? (p: any) => (
<ProductCard
className="animate__animated animate__fadeIn"
{...p}
/>
)
: () => ( : () => (
<Skeleton <Skeleton
className="w-full animate__animated animate__fadeIn rounded-md" className="w-full animate__animated animate__fadeIn"
height={325} height={325}
/> />
) )