Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added onCentered callback in the useLayoutEffect (#1020)
* feat: added onCentered callback in the useLayoutEffect * fix: added more props to the onCentered callback * fix: only fire onCentered when width and height are greater than 1
- Loading branch information
1 parent
1556809
commit f5f252f
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f5f252f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
drei – ./
drei.vercel.app
drei.react-spring.io
drei.pmnd.rs
drei-git-master-pmndrs.vercel.app
drei-pmndrs.vercel.app