Answers for "export component in"

0

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
Posted by: Guest on April-30-2020

Code answers related to "export component in"

Code answers related to "Javascript"

Browse Popular Code Answers by Language