You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best way to create an animation component that is reusable? - Find details here
The React component signature
constZoomImage=React.forwardRef<HTMLDivElement,{styles: React.CSSProperties,custom: {src: string;// src of the background imageinitialSize: string;// initial size of the background (string because 50% 50%)hoverSize: string: // size of the background when hovered}}>((props,ref)=>{
...
});
Create a component that has the animation as shown in the clip attached with this description. You will have to learn two things -
The React component signature
Steps
ZoomImage.md
inmade-with-atri
folder and write your GitHub repo name in the file. Make sure the GitHub repo is public.Screen.Recording.2023-05-04.at.5.25.18.AM.mov
The text was updated successfully, but these errors were encountered: