my-animated-components 1.0.6 → 1.0.7

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 +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-animated-components",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
package/readme.md CHANGED
@@ -43,9 +43,12 @@ Heading
43
43
  Text
44
44
 
45
45
  ## props
46
- color (optional): Sets the color of the component. Available values: primary, secondary, success, danger, warning, info.
47
- className
48
- children
46
+ onClick (function): The function to call when the button is clicked.
47
+ disabled (boolean): Disables the button.
48
+ variant (string): The button style, one of solid, outline, or ghost.
49
+ color (string): The button color, one of primary, secondary, success, danger, warning, or info.
50
+ size (string): The size of the button, one of xs, sm, md, lg, or xl.
51
+ motionVariant (string): A predefined motion animation for the button (fadeIn is the default).
49
52
 
50
53
  ## Example Usage
51
54
  import { Button } from 'my-animated-components';