Skip to content

Commit

Permalink
fix: code formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidd5arth committed Oct 18, 2024
1 parent 35be039 commit 0296a8f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions content/docs/components/ripple-button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ module.exports = {
theme: {
extend: {
animation: {
rippling: "rippling var(--duration) ease-out",
rippling: "rippling var(--duration) ease-out",
},
keyframes: {
rippling: {
"0%": {
opacity: "1"
},
"100%": {
keyframes: {
rippling: {
"0%": {
opacity: "1",
},
"100%": {
transform: "scale(2)",
"opacity": "0"
}
opacity: "0",
},
},
},
},
Expand All @@ -71,12 +71,12 @@ module.exports = {

## Props

| Prop | Type | Description |
| ---------- | --------------- | -------------------------------------------------------- |
| children | React.ReactNode | The content of the button. |
| className | string | Additional class names for the button. |
| Prop | Type | Description |
| ----------- | --------------- | --------------------------------------------------------- |
| children | React.ReactNode | The content of the button. |
| className | string | Additional class names for the button. |
| rippleColor | string | The rbg numbers only for the color of the rippling waves. |
| duration | string | The time span of one ripple. |
| duration | string | The time span of one ripple. |

## Credits

Expand Down

0 comments on commit 0296a8f

Please sign in to comment.