Docs
Resize Card
Resize Card
Use swapy to resize cards.
Loading...
Installation
Install the following dependencies:
npm install swapy
Copy and paste the following code into your project.
This Card Component
Copy and paste the Resize Card code into your project.
API Reference
Props
Prop | Type | Description |
---|---|---|
animation | string | support "dynamic" | "spring" | "none"; |
Usage
export default function Swapy() {
return <SwapyComponent animation="dynamic" />;
}