react-say-hello
v1.0.9
Published
A simple React component that greets a user by name.
Readme
react-say-hello
A simple React component that greets a user by name.
Installation
To install the react-say-hello package, use npm or yarn:
npm install react-say-hello
or
yarn add react-say-helloUsage
import React from "react";
import SayHello from "react-say-hello";
const App = () => {
return (
<div>
<SayHello name="Behzad" />
</div>
);
};
export default App;Props Table
| Prop | Type | Required | Default Value | Description |
| ------ | -------- | -------- | ------------- | ------------------------------------ |
| name | string | NO | "" | The name to display in the greeting. |
