@yamada-ui/ripple
Advanced tools
Comparing version 0.0.0-dev-20231219062400 to 0.0.0-dev-20231219071021
@@ -86,3 +86,3 @@ "use strict"; | ||
...rest | ||
}) => { | ||
} = {}) => { | ||
const [ripples, setRipples] = (0, import_react.useState)([]); | ||
@@ -89,0 +89,0 @@ const onPointerDown = (0, import_react.useCallback)( |
@@ -14,3 +14,3 @@ import React, { PointerEventHandler, Key } from 'react'; | ||
}; | ||
declare const useRipple: <T extends unknown = HTMLElement>({ disabled, isDisabled, ...rest }: UseRippleProps<T>) => { | ||
declare const useRipple: <T extends unknown = HTMLElement>({ disabled, isDisabled, ...rest }?: UseRippleProps<T>) => { | ||
ripples: RippleOptions[]; | ||
@@ -17,0 +17,0 @@ onPointerDown: (event: React.PointerEvent<T>) => void; |
@@ -32,3 +32,3 @@ "use strict"; | ||
...rest | ||
}) => { | ||
} = {}) => { | ||
const [ripples, setRipples] = (0, import_react.useState)([]); | ||
@@ -35,0 +35,0 @@ const onPointerDown = (0, import_react.useCallback)( |
{ | ||
"name": "@yamada-ui/ripple", | ||
"version": "0.0.0-dev-20231219062400", | ||
"version": "0.0.0-dev-20231219071021", | ||
"description": "Yamada UI ripple component", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34335