You can give the buttons a name and access those in the handler: <button name='admin' onClick={this.myChangeHandler}>Toggle admin </button>
確定! 回上一頁