This monorepo contains two packages: say-hola
and say-hola-react
. These packages provide flexible and lightweight libraries for displaying greetings in different languages.
- say-hola: Core library for generating greetings.
- say-hola-react: React components and hooks based on
say-hola
.
To install the dependencies for all packages, run:
pnpm install
say-hola
is a lightweight library for generating greetings in different languages.
const SayHola = require('say-hola');
const sayHola = new SayHola();
const greeting = sayHola.greet();
console.log(greeting);
say-hola-react
is a flexible React component and hook library based on say-hola
.
import React from 'react';
import SayHola from 'say-hola-react';
const App = () => {
return (
<div>
<SayHola as="h1" className="greeting-heading" />
<SayHola as="div" className="greeting-container" />
</div>
);
};
export default App;
Please see our CONTRIBUTING.md file for detailed instructions on how to contribute to this project.
This project is licensed under the MIT License. See the LICENSE file for details.