init create-react-hook@2.6.18

This commit is contained in:
2019-12-31 13:30:23 +05:30
commit 5e5b56ad52
20 changed files with 23936 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import React from 'react'
import { useMyHook } from 'some-hooks'
const App = () => {
const example = useMyHook()
return (
<div>
{example}
</div>
)
}
export default App
+5
View File
@@ -0,0 +1,5 @@
/* body {
margin: 0;
padding: 0;
font-family: sans-serif;
} */
+7
View File
@@ -0,0 +1,7 @@
import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
ReactDOM.render(<App />, document.getElementById('root'))