1.0.1 • Published 10 months ago

my-rui-component-library v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

My RUI Component Library

My RUI Component Library is a reusable set of React components built with TypeScript. It provides a collection of common UI components that can be used to build modern web applications.

Installation

You can install the library using npm:

npm install my-rui-component-library




Usage
Here’s an example of how to use the components in your project.


import { Button, Input } from 'my-rui-component-library';

const App = () => (
  <div>
    <Button label="Click me" onClick={() => alert('Button Clicked!')} />
    <Input placeholder="Enter text here" />
  </div>
);

export default App;





Available Components
Button: A customizable button component.
Input: A simple input field component.


Props
Button
Prop	Type	Description
label	string	The label to be displayed
onClick	func	Function to be called on click
variant	string	primary or secondary
Input
Prop	Type	Description
value	string	The current value of the input
onChange	func	Callback to handle value changes
placeholder	string	Placeholder text for the input
Contributing
Contributions are welcome! Please submit a pull request or open an issue if you'd like to contribute or report any issues.
1.0.1

10 months ago

1.0.0

10 months ago