12345678910111213141516171819202122232425 |
- import React, {StrictMode} from 'react';
- import ReactDOM from 'react-dom';
- import App from './components/app/App';
- import './index.css';
- //const elem = React.createElement('h2', {className: 'App-header'}, 'Hello world');
- /* const text = 'Hello world';
- const elem = (
- <div className="App">
- <h1 className={text}>This is the text:{text}</h1>
- <input type="text" />
- <button tabIndex='0' >push me</button>
- </div>
-
- ) */
- ReactDOM.render(
- <StrictMode>
- <App/>
- </StrictMode>,
- document.getElementById('root')
- );
|