Step 3 — State, let's toggle it. In order to keep track of whether or not the text needs to slide in or out, we need to create a state variable.
確定! 回上一頁