1.0.0 • Published 12 months ago

sohui-component-library v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Sohui UI Component Library

Sohui is a React UI component library built with Tailwind CSS. It provides reusable components like dropdowns and tables to help you quickly build modern web applications.

Table of Contents

Installation

To install the Sohui UI Component Library, run the following command:

npm install sohui

Example

import React from 'react';
import { Dropdown } from 'sohui';

function App() {
  const handleSelect = (option) => {
    alert(`Selected: ${option}`);
  };

  return (
    <div className="p-4">
      <Dropdown
        options={['Option 1', 'Option 2', 'Option 3']}
        onSelect={handleSelect}
        placeholder="Select an option"
        className="w-64"
      />
    </div>
  );
}

export default App;

Key Points:

  • Installation: Instructions for installing the library.
  • Usage: How to import and use the components.
  • Components: Detailed information and code examples for Dropdown and Table.
  • Contributing: Guidelines for contributing to the project.
  • License: Licensing information.

You can copy and paste this into your README.md file.

1.0.0

12 months ago