Store the active state in a state variable. ... You can use a template literal to dynamically add CSS classes to an element on click.
確定! 回上一頁