UNPKG

@algowrite/react-help-center

Version:
62 lines (45 loc) 1.01 kB
# @algowrite/react-help-center A React component library for help center UI components. ## Installation ```bash npm install @algowrite/react-help-center ``` ## Usage ### Import and use components ```jsx import React from 'react'; import { Comp1, Comp2 } from '@algowrite/react-help-center'; function App() { return ( <div> {/* Red styled component */} <Comp1 /> {/* Blue styled component */} <Comp2 /> </div> ); } ``` ### Available Components #### Comp1 A red-styled component with Tailwind CSS classes: - Background: red-500 - Padding: p-4 - Rounded corners: rounded-lg - Text color: white #### Comp2 A blue-styled component with Tailwind CSS classes: - Background: blue-500 - Padding: p-4 - Rounded corners: rounded-lg - Text color: white ## Development ```bash # Install dependencies npm install # Build the package npm run build ``` ## Requirements - React 18+ - TypeScript support included