my-animated-components 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +1 -2
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -63,11 +63,10 @@ Here are the common props for the **Button** component:
|
|
|
63
63
|
|
|
64
64
|
```tsx
|
|
65
65
|
import { Button } from 'my-animated-components';
|
|
66
|
-
import { motionVariants } from 'my-animated-components';
|
|
67
66
|
|
|
68
67
|
const MyComponent = () => {
|
|
69
68
|
return (
|
|
70
|
-
<Button color="primary" size="md" className="my-custom-class" motionVariant=
|
|
69
|
+
<Button color="primary" size="md" className="my-custom-class" motionVariant='slideUp'>
|
|
71
70
|
Click Me
|
|
72
71
|
</Button>
|
|
73
72
|
);
|