Implement React example of WS integration with Flipper
Summary: Create an example of how one can use `js-flipper` in a browser to connect to Flipper over WS. Reviewed By: mweststrate Differential Revision: D31688114 fbshipit-source-id: 135f826daeddeda8dca5b3df6504cc2bdc04dd1b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
25a6fc1ab1
commit
02115722b3
27
js/react-flipper-example/src/FlipperTicTacToe.css
Normal file
27
js/react-flipper-example/src/FlipperTicTacToe.css
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-rows: repeat(3, 40px);
|
||||
grid-template-columns: repeat(3, 40px);
|
||||
}
|
||||
|
||||
.cell {
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cell:disabled {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.cell:hover:not(:disabled), .cell:focus:not(:disabled) {
|
||||
background-color: blue;
|
||||
}
|
||||
Reference in New Issue
Block a user