mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Init with yo typescript-react-lib
This commit is contained in:
@@ -0,0 +1 @@
|
||||
REACT_APP_DESCRIPTION=$npm_package_description
|
||||
@@ -0,0 +1 @@
|
||||
/node_modules
|
||||
@@ -0,0 +1,15 @@
|
||||
# reactFiberTraverse Basic Usage Example
|
||||
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
|
||||
|
||||
## Available Scripts
|
||||
|
||||
In the project directory, you can run:
|
||||
|
||||
### `npm start`
|
||||
|
||||
Runs the app in the development mode.<br>
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
||||
|
||||
The page will reload if you make edits.<br>
|
||||
You will also see any lint errors in the console.
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "basic-usage",
|
||||
"description": "reactFiberTraverse Basic Usage Example",
|
||||
"keywords": [
|
||||
"react-fiber-traverse"
|
||||
],
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"react": "16.8.6",
|
||||
"react-dom": "16.8.6",
|
||||
"react-scripts": "3.0.1",
|
||||
"react-fiber-traverse": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>%REACT_APP_DESCRIPTION%</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<svg width="40" height="40" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="5" y="5" width="30" height="30" stroke="black" fill="transparent" stroke-width="5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 181 B |
@@ -0,0 +1,5 @@
|
||||
import C from 'react-fiber-traverse'
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
|
||||
ReactDOM.render(<C />, document.getElementById('root'))
|
||||
Reference in New Issue
Block a user