Commit 7e0b6d82 authored by Jaya Simha Reddy Nandyala's avatar Jaya Simha Reddy Nandyala
Browse files

Basic Layout of Components

parent ea2358f6
"version": "14.0.1"
\ No newline at end of file
# See for more about ignoring files.
# dependencies
# testing
# production
# misc
"env": {},
"dependencies": {},
"componentsDefaultDirectory": "components/{name}",
"packageManager": "npm"
This diff is collapsed.
"name": "e-litmus",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-grid-system": "^4.4.2",
"react-scripts": "2.1.5"
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eslintConfig": {
"extends": "react-app"
"browserslist": [
"not dead",
"not ie <= 11",
"not op_mini all"
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
content="width=device-width, initial-scale=1, shrink-to-fit=no"
<meta name="theme-color" content="#000000" />
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
<title>React App</title>
<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`.
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
import React, { Component } from 'react';
import { Container, Row, Col } from 'react-grid-system';
import Cloud from './components/Cloud';
import Sun from './components/Bird';
import Mountain from './components/Bird';
class App extends Component {
render() {
return (
<Col sm={4} xs={12} md={4} >
<Cloud />
<Col sm={4} xs={12} md={4}>
<Mountain />
<Col sm={4} xs={12} md={4}>
<Sun />
export default App;
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
import React, { Component } from 'react';
class Cloud extends Component {
render() {
return (
<p>Cloud Component Edit Here</p>
export default Cloud;
\ No newline at end of file
import React, { Component } from 'react';
class Mountain extends Component {
render() {
return (
<p>This is your Mountain Component</p>
export default Mountain;
\ No newline at end of file
import React, { Component } from 'react';
class Sun extends Component {
render() {
return (
<p>Sun Component Edit Here</p>
export default Sun;
\ No newline at end of file
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment