Rename and move existing sample test

This commit is contained in:
2019-07-19 18:45:39 +05:30
parent 92444eacb8
commit 6638f33d1b
4 changed files with 43 additions and 21 deletions
+18
View File
@@ -0,0 +1,18 @@
// import * as PropTypes from "prop-types";
import * as React from "react";
interface Props {
text: string;
}
class C extends React.Component<Props> {
render() {
return <p>{this.props.text}</p>;
}
}
// C.propTypes = {
// text: PropTypes.string.isRequired
// };
export default C;