mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Tests - Fix mountAndGetRootNode usage + Add depth=1 test case
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// import * as PropTypes from "prop-types";
|
||||
import * as React from "react";
|
||||
|
||||
class CDepth1 extends React.Component {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default CDepth1;
|
||||
@@ -7,8 +7,4 @@ class CDepth2 extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
// C.propTypes = {
|
||||
// text: PropTypes.string.isRequired
|
||||
// };
|
||||
|
||||
export default CDepth2;
|
||||
|
||||
Reference in New Issue
Block a user