To set the CSS display property to `none` conditionally in React, store a boolean in the state that indicates if the element should be shown.
確定! 回上一頁