diff --git a/snippet-template.md b/snippet-template.md new file mode 100644 index 000000000..2559cbc9f --- /dev/null +++ b/snippet-template.md @@ -0,0 +1,29 @@ +### componentName + +Explain briefly what the snippet does. + +Explain briefly how the snippet works. + +```jsx +function componentName(props) { + return
{props}
; +}; +``` + +```jsx +class componentName extends React.Component { + constructor(props){} + render(){ + return
{props}
; + } +} +``` + + + + +