react-welcome-user

1.0.4 • Public • Published

react-welcome-user

Outputs a welcome message to your user(s)

Setup

Add the package to your project with:

yarn add react-welcome-user

Use

Import the component in your project. The <Welcome /> component with no props will return:

<h1>Hello User!<h1>

The component also accepts a user via props. For example <Welcome user="Matt" /> will return:

<h1>Hello Matt!</h1>

Readme

Keywords

none

Package Sidebar

Install

npm i react-welcome-user

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • matthewholman