Last active
January 10, 2022 16:49
-
-
Save sand97/e7c31e3f428c29d3b7a6b1e0c28610b8 to your computer and use it in GitHub Desktop.
Handle state up example
This file contains hidden or 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
//inside the parent of carousel Dialog | |
const [dialogOpen, setDialogOpen] = useState<number>(0); | |
//inside a carousel Dialog | |
const [steep, setSteep] = useState<number>(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment