Skip to content

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

License

Notifications You must be signed in to change notification settings

amitdabade/react-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published