proxima-component
v2.0.1
Published
This is a simple Hello World component that takes a `name` prop as an argument and displays a greeting message.
Downloads
4
Readme
Hello World Component
This is a simple Hello World component that takes a name
prop as an argument and displays a greeting message.
Installation
To install the Hello World component, you can use npm or yarn:
npm install proxima-components
Usage
import React from "react";
import HelloWorld from "proxima-components";
const App = () => {
return (
<div>
<HelloWorld name="John" />
</div>
);
};
export default App;
Props
- name (optional)
- Type: string
- Description: The name to be displayed in the greeting message. Defaults to "World" if not provided.
Tailwind Configuration
- The Hello World component uses Tailwind CSS for styling. Ensure that Tailwind CSS is installed and configured in your project.