We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764c512 commit 1a542b1Copy full SHA for 1a542b1
src/index.tsx
@@ -18,7 +18,7 @@ function ReactSwimButton(props: ReactSwimButtonProps) {
18
style,
19
icon,
20
loading,
21
- duration = 125,
+ duration = 250,
22
} = props;
23
const waveRef = useRef(null);
24
function animate(time: number | undefined) {
@@ -142,8 +142,8 @@ export interface ReactSwimButtonProps {
142
*/
143
loading?: boolean;
144
/**
145
- * @description wave animation duration
146
- * @default 125
+ * @description wave animation duration(ms)
+ * @default 250
147
148
duration?: number;
149
}
0 commit comments