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.
- package/package.json +1 -1
- package/readme.md +6 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -43,9 +43,12 @@ Heading
|
|
|
43
43
|
Text
|
|
44
44
|
|
|
45
45
|
## props
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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';
|