Browse Source

[Beta] Delete dead code (#4637)

main
dan 3 years ago
committed by GitHub
parent
commit
70312ab780
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4950
      beta/illustrations/import-export.ai
  2. 1564
      beta/illustrations/jsx.ai
  3. 13
      beta/plugins/sandbox-templates/cra/package.json
  4. 26
      beta/plugins/sandbox-templates/cra/public/index.html
  5. 5
      beta/plugins/sandbox-templates/cra/src/App.js
  6. 13
      beta/plugins/sandbox-templates/cra/src/index.js
  7. 3
      beta/plugins/sandbox-templates/cra/src/styles.css

4950
beta/illustrations/import-export.ai

File diff suppressed because one or more lines are too long

1564
beta/illustrations/jsx.ai

File diff suppressed because one or more lines are too long

13
beta/plugins/sandbox-templates/cra/package.json

@ -1,13 +0,0 @@
{
"private": true,
"description": "React example starter project",
"dependencies": {
"react": "17",
"react-dom": "17",
"react-scripts": "4.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build"
}
}

26
beta/plugins/sandbox-templates/cra/public/index.html

@ -1,26 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>React App</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

5
beta/plugins/sandbox-templates/cra/src/App.js

@ -1,5 +0,0 @@
import * as React from 'react';
export default function App() {
return <h1>Hello, world</h1>;
}

13
beta/plugins/sandbox-templates/cra/src/index.js

@ -1,13 +0,0 @@
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import './styles.css';
import App from './App';
const rootElement = document.getElementById('root');
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
rootElement
);

3
beta/plugins/sandbox-templates/cra/src/styles.css

@ -1,3 +0,0 @@
body {
font-family: sans-serif;
}
Loading…
Cancel
Save