You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1069,6 +1069,34 @@ disableSound = false
1069
1069
```
1070
1070
<!-- tabs:end -->
1071
1071
1072
+
## size
1073
+
1074
+
> **The ‘size’ parameter will adjust the size of the button.**
1075
+
1076
+
?> The size parameter is optional and supports the following predefined string values: 'xs' (extra small), 'sm' (small), 'md' (medium), 'lg' (large), and 'xl' (extra large). If not specified, the default value is 'md'. You can also use the aliases 'extrasmall', 'small', 'medium', 'large', and 'extralarge', which correspond to 'xs', 'sm', 'md', 'lg', and 'xl', respectively.
1077
+
1078
+
1079
+
**Example:**
1080
+
<!-- tabs:start -->
1081
+
1082
+
#### ** HTML **
1083
+
1084
+
```html
1085
+
size="sm"
1086
+
```
1087
+
1088
+
#### ** JavaScript **
1089
+
1090
+
```javascript
1091
+
size:"sm"
1092
+
```
1093
+
1094
+
#### ** React **
1095
+
1096
+
```react
1097
+
size = "sm"
1098
+
```
1099
+
<!-- tabs:end -->
1072
1100
# Contribute
1073
1101
1074
1102
PayButton is a community-driven open-source initiative. Contributions from the community are _crucial_ to the success of the project.
0 commit comments