mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(avatar): remove extra disableAnimation prop in getImageProps (#3260)
This commit is contained in:
parent
1e3e970fb7
commit
6951b1fba0
5
.changeset/eleven-panthers-remain.md
Normal file
5
.changeset/eleven-panthers-remain.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/avatar": patch
|
||||
---
|
||||
|
||||
Removed extra `disableAnimation` prop in `getImageProps` (#3257)
|
||||
@ -201,7 +201,6 @@ export function useAvatar(originalProps: UseAvatarProps = {}) {
|
||||
(props = {}) => ({
|
||||
ref: imgRef,
|
||||
src: src,
|
||||
disableAnimation,
|
||||
"data-loaded": dataAttr(isImgLoaded),
|
||||
className: slots.img({class: classNames?.img}),
|
||||
...mergeProps(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user