bera-chat-sdk
v0.1.7
Published
Bera Chat SDK
Readme
Bera Chat SDK
A simple and flexible chat component library for React applications. Installation You can install the package using Yarn or npm:
# Using Yarn
yarn add bera-chat-sdkUsing npm
npm install bera-chat-sdkUsage
To use the Chat component, import it into your React component:
function App() {
return <Chat message="Hello from the package!" />;
}Component Props
The Chat component accepts the following prop:
| Prop | Type | Description |
|----------|--------|------------------------------------------|
| message| string | The message to display in the chat component. |
Example
Here's a simple example of how to use the Chat component:
function App() {
return <Chat message="Welcome to the chat!" />;
}License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Feel free to open issues and submit pull requests. Contributions are welcome!
Acknowledgments Thanks to the React community for their support and inspiration.
