React js--通过Component传递值并改变Tab页面。

问题描述 投票:0回答:1

我有一个使用Semantic UI标签的带标签的react页面(https:/react.semantic-ui.commodulestab。).

user details

in the 'all users' tab page, a table is created and filled with sql content. It contains a button for every player for more information.

If I click the button, I want: 1. the tab changes to 'user details' 2. the table button has an id, that should be passed to the second tab.

I'm a newbie and doesn't have any code to provide. I checked you can use a component and pass values by doing

Thank you in advance,Doe

javascript reactjs semantic-ui
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.