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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-animated-components",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
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={motionVariants.slideUp}>
69
+ <Button color="primary" size="md" className="my-custom-class" motionVariant='slideUp'>
71
70
  Click Me
72
71
  </Button>
73
72
  );