Created
November 18, 2019 10:08
-
-
Save koss-lebedev/202816bd6fc1ba04dd733dd2df1b8c6a to your computer and use it in GitHub Desktop.
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
const style = useSpring({ | |
width: isExpanded ? vwToPixel(100) : "200px", | |
height: isExpanded ? vhToPixel(100) : "200px", | |
borderRadius: isExpanded ? "0px" : "10px", | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment