@amitdabade/react-hello

1.0.4 • Public • Published

What is this?

A simple react component that prints Hello, {username}!

Installation:

npm i @amitdabade/react-hello --save

Code:

import React from 'react';
import ReactDOM from 'react-dom';
import { Hello } from "@amitdabade/react-hello";

function App() {
   return (
    <div>
       <Hello name="Amit" />
    </div>
  )
}

ReactDOM.render(<App />, document.getElementById('root'));

Demo:

Demo

Options:

name : string (Default: "World")

License:

This project is licensed under the terms of the MIT license.

Dependencies (0)

    Dev Dependencies (15)

    Package Sidebar

    Install

    npm i @amitdabade/react-hello

    Weekly Downloads

    3

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    5.06 kB

    Total Files

    14

    Last publish

    Collaborators

    • amitdabade