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
+2026
View File
File diff suppressed because it is too large Load Diff
+25
View File
@@ -0,0 +1,25 @@
{
"name": "some-hooks-example",
"homepage": "https://bendtherules.github.io/some-hooks",
"version": "0.0.0",
"license": "MIT",
"private": true,
"dependencies": {
"react": "link:../node_modules/react",
"react-dom": "^16.8.6",
"react-scripts": "^3.0.1",
"some-hooks": "link:.."
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
+20
View File
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<title>some-hooks</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
</body>
</html>
+8
View File
@@ -0,0 +1,8 @@
{
"short_name": "some-hooks",
"name": "some-hooks",
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
+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'))
+10600
View File
File diff suppressed because it is too large Load Diff