mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-21 10:34:31 +08:00
Fabric: Implemetation of <Switch> component
Summary: This is pretty straightforward implementation uses native `UISwitch`. Suddenly we need Switch to test a bunch of other things. Reviewed By: fkgozali Differential Revision: D8344055 fbshipit-source-id: cfc51b8bc11198eb9d4d5e4745b96fb3a7f14de1
This commit is contained in:
committed by
Facebook Github Bot
parent
8fa2d847b6
commit
f65e4e0174
14
ReactCommon/fabric/components/switch/tests/SwitchTest.cpp
Normal file
14
ReactCommon/fabric/components/switch/tests/SwitchTest.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(SwitchTest, testSomething) {
|
||||
// TODO
|
||||
}
|
||||
Reference in New Issue
Block a user