📜  @testing-library react-native 开关 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:32.085000             🧑  作者: Mango
代码示例1
fireEvent(getByTestId('switch-element-id'), 'valueChange', true || false);