Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 565 Bytes

snippet-template.md

File metadata and controls

34 lines (28 loc) · 565 Bytes

ComponentName

Explain briefly what the snippet does.

Explain briefly how the snippet works.

function ComponentName(props) {
  return <div>{props}</div>;
};
class ComponentName extends React.Component {
  constructor(props){}
  render(){
    return <div>{props}</div>;
  }
}
ReactDOM.render(<ComponentName />, mountNode);