export component in
//Export single component in react.js
import React from "react";
function MyInfo() {
return (
<div>
<h1>Swapnil</h1>
<p>Hy this is Swapnil, I have no idea who I am</p>
<ul>
<li>Ladakh</li>
<li>Himachal Pradesh</li>
<li>Vellangiri Mountains</li>
</ul>
</div>
)
}
export default MyInfo
Also in JavaScript:
- javascript prototype inheritance example
- route in component react
- uninstall node js from mac
- How do you select a particular option in a SELECT element in jQuery?
- json boolean
- adding prod environment file in angular8
- dom is loaded
- insert json into sql
- math.floor js
- append to top javascript
- pdf.js change background color
- vue-sfc-rollup external dependency
- javascript substring after character
- how to check if a number is even or odd in javascript
- nknown key passed via urlObject into url.format: searchParams
- example of validating fields on your own in express
- javascript Convert an array of objects to a single object
- concatenation of loop data in variable using jquery
- React Components
- toggle class in javascript
- javascript clear localstorage
- build an api in nodejs using express to send emails using the gmail rest api without client libraries
- javascript remove all newlines
- enable swipe using javascript