Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 612 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 612 Bytes

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.