helo-package
v1.0.0
Published
A simple React component package that says hello
Maintainers
Readme
Helo Package
A simple React component package that displays a greeting message.
Installation
npm install helo-packageUsage
import React from "react";
import { Helo } from "helo-package";
function App() {
return (
<div>
<Helo name="World" />
<Helo name="React" />
</div>
);
}
export default App;This will render:
Helllo World
Helllo ReactProps
| Prop | Type | Required | Description | | ---- | ------ | -------- | ----------------------------------- | | name | string | Yes | The name to display in the greeting |
TypeScript Support
This package includes TypeScript declarations for full type safety.
License
MIT
