diff --git a/Pass-props-to-parent-React.md b/Pass-props-to-parent-React.md new file mode 100644 index 0000000..a53d372 --- /dev/null +++ b/Pass-props-to-parent-React.md @@ -0,0 +1,9 @@ +### Pass props to parent component in React.js + +``` +var Child = React.createClass({ + render: function () { + return ; + }, +}); +``` \ No newline at end of file